-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to disable multi-operation queries #252
Labels
Comments
I think the right path here is a relatively simple Per our conversation on slack, a temporary work around could be to add the following plug ahead of your Absinthe.Plugs:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can we disable multi-operation queries like "[{"operationName":"xxx1","variables":{},"query":"query xxx1 {}"},
{"operationName":"xxx2","variables":{},"query":"query xxx2 {}"},
{"operationName":"xxx3","variables":{},"query":"query xxx3 {*********}"},,
...repeat 1000x..."
for security reason, we prefer to only allow a single operation per http request
The text was updated successfully, but these errors were encountered: