Skip to content
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

feat(request-payload-validation): Add test case reproducing bug report #11

Merged

Conversation

ldebruijn
Copy link
Owner

@ldebruijn ldebruijn commented Dec 14, 2023

Fixes #10 .

  • Adds a test case validating the bug report
  • Removed graphql-go in favor of gqlparser, which is more active and recent
  • Refactor code for gqlparser
  • Update test cases

Decided to give awareness of the schema to go-graphql-armor, so it can validate and interpret with its knowledge.

@ldebruijn ldebruijn merged commit f73dec5 into main Dec 22, 2023
2 checks passed
@ldebruijn ldebruijn deleted the 10-error-when-input-arguments-are-provided-in-request-payload branch December 22, 2023 00:10
ldebruijn added a commit that referenced this pull request Jan 23, 2024
#11)

Fixes #10 . 
* Adds a test case validating the bug report
* Removed graphql-go in favor of gqlparser, which is more active and
recent
* Add SchemaProvider which loads and exposes the Schema for validations
* Refactor code for gqlparser
* Update test cases

Decided to give awareness of the schema to go-graphql-armor, so it can
validate and interpret with its knowledge.

---------

Co-authored-by: ldebruijn <[email protected]>
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.

Error when input arguments are provided in request payload
1 participant