You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QueryGuard 0.1.0 is stable. It records EF Core commands inside a request or test, groups repeated SQL, and can fail a test when a query budget is exceeded.
The README has the shortest setup. The public API is stable within the 0.1 release line.
What to try
Measure one WebApplicationFactory request with TrackQueries.
Start with WithMaxOccurrencesPerFingerprint(n) to catch repetition.
Use a baseline when the right total budget is unknown.
Feedback wanted
Did the first test record the queries you expected?
Did a legitimate repeated query produce a finding?
Which EF Core provider and test framework did you use?
What part of setup took the most time?
A false positive is useful feedback. QueryGuard reports a candidate, not proof of an N+1 problem. Please use the false-positive form and include only synthetic or redacted SQL.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
QueryGuard
0.1.0is stable. It records EF Core commands inside a request or test, groups repeated SQL, and can fail a test when a query budget is exceeded.The README has the shortest setup. The public API is stable within the
0.1release line.What to try
WebApplicationFactoryrequest withTrackQueries.WithMaxOccurrencesPerFingerprint(n)to catch repetition.Feedback wanted
A false positive is useful feedback. QueryGuard reports a candidate, not proof of an N+1 problem. Please use the false-positive form and include only synthetic or redacted SQL.
The public validation notes show results from three ASP.NET Core projects.
All reactions