Skip to content

Adds Custom Validation Rules #136

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

Conversation

NeedleInAJayStack
Copy link
Member

This adds the custom validation rules:

  • NoDeprecatedCustomRule
  • NoSchemaIntrospectionCustomRule

Note that they are not added to the specified list of rules, which matches the usage in graphql-js

As part of this work, deprecated support was added to Arguments and Input Object Fields.

Copy link
Member

@paulofaria paulofaria left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! I'm curious, are you actively using these two rules or are you just making sure we're up to date with the "upstream" JS implementation?

@NeedleInAJayStack
Copy link
Member Author

Yeah I am using these new rules!

@NeedleInAJayStack NeedleInAJayStack merged commit 75cfce2 into GraphQLSwift:main Dec 4, 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.

2 participants