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
a.k.a. "middleware". Currently request preparation and response handling is implemented somewhat generally. However, most GraphQL servers provide some extra logic.
It should be possible for users to specify their own logic for this. For example:
Adding specific headers to requests
non-json serialization methods
custom HTTP status code handling
custom error handling
A quick solution would be to allow some kind of middleware= parameter in execute(). However, some thought needs to go into this to ensure the API is flexible enough.
The text was updated successfully, but these errors were encountered:
encountered in #10
a.k.a. "middleware". Currently request preparation and response handling is implemented somewhat generally. However, most GraphQL servers provide some extra logic.
It should be possible for users to specify their own logic for this. For example:
A quick solution would be to allow some kind of
middleware=
parameter inexecute()
. However, some thought needs to go into this to ensure the API is flexible enough.The text was updated successfully, but these errors were encountered: