Skip to content

Conversation

@sungam3r
Copy link
Member

@sungam3r sungam3r commented Jul 18, 2022

See https://github.com/graphql/graphql-over-http/blob/main/spec/GraphQLOverHTTP.md#status-codes . Spec allow to return 400 i ncase of validation errors. GraphQL.NET / server support it.

@sungam3r sungam3r requested a review from rose-a July 18, 2022 12:51
@sungam3r sungam3r self-assigned this Jul 18, 2022
@sungam3r
Copy link
Member Author

@rose-a Please review. This feature blocks me from migrating some of our services to GraphQL.NET v5 since all validation errors return 400 instead of 200 now.

sungam3r and others added 2 commits July 19, 2022 10:27
Co-authored-by: Alexander Rose <alex@rose-a.de>
@sungam3r
Copy link
Member Author

@rose-a If you fine with proposed changes I would like to publish fresh packages ASAP.

@sungam3r sungam3r added the enhancement New feature or request label Jul 19, 2022
@rose-a rose-a merged commit ac2043a into master Jul 19, 2022
@rose-a rose-a deleted the badrequest branch July 19, 2022 22:36
@sungam3r
Copy link
Member Author

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

3 participants