Skip to content

Adding an option to set HttpCodeDecider #43

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 3 commits into from
Apr 7, 2023
Merged

Conversation

moufmouf
Copy link
Member

@moufmouf moufmouf commented Apr 7, 2023

Building on top of #27.
Porting changes to newer version.

Thanks @alejo-lapix and sorry for the very very long merge!

alejo-lapix and others added 3 commits December 5, 2021 16:24
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.
…el into http_code_decider

# Conflicts:
#	config/graphqlite.php
Refactoring code to remove setter.
@moufmouf moufmouf merged commit 4694583 into master Apr 7, 2023
@moufmouf moufmouf deleted the http_code_decider branch April 7, 2023 19:17
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.

2 participants