Skip to content

Add a config variable to set the HTTP code in the operations #27

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

Merged
merged 1 commit into from
Apr 7, 2023

Conversation

Alejinho
Copy link

In the default implementation in GraphQLite when an operation result
has any error the status code by default is Bad Request (400), this is
not the way how GraphQL clients expects a response, with this setter we
can set a custom behavior to handle this cases.

In the default implementation in GraphQLite when an operation result
has any error the status code by default is Bad Request (400), this is
not the way how GraphQL clients expects a response, with this setter we
can set a custom behavior to handle this cases.
@moufmouf moufmouf merged commit 3969452 into thecodingmachine:master Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants