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
This was a bit tricky since the request needed to do some bookkeeping around the filter call, added a new func TestWithRequest(request _http.Request, filter RequestFilter) (_Request, *http.Response).
I hope this is enough to enable testing since the lifecycle stuff would be messy to expose and exposing the internal newRequest would return a mostly broken object.
While trying to unit test my own request filters, I realized it's very difficult as I can't create my own complete falcore.Request objects.
The text was updated successfully, but these errors were encountered: