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

Validate directive arguments #23

Open
bhavinshah7 opened this issue Oct 19, 2022 · 3 comments
Open

Validate directive arguments #23

bhavinshah7 opened this issue Oct 19, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest

Comments

@bhavinshah7
Copy link
Contributor

bhavinshah7 commented Oct 19, 2022

If any directives are used in the schema (one which has a directive definition), validate if its arguments confirm to the ones defined in directive definition.

Directive:'@' definition=[DirectiveDefinition] Arguments?;

Other validations for reference

Add to an existing validation class or link a new validation here

similar validation in graphql-java

@bhavinshah7 bhavinshah7 added enhancement New feature or request hacktoberfest good first issue Good for newcomers labels Oct 19, 2022
@Suresh9293
Copy link

I can take this one

@Suresh9293
Copy link

@bhavinshah7 just directive arguments used in schema should be checked if present in Directive definition ?

@Suresh9293
Copy link

PR for checking if directive arguments are present in the defintion : #30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest
Projects
Status: No status
Development

No branches or pull requests

2 participants