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 default values in InputObjectTypes #24

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

validate default values in InputObjectTypes #24

bhavinshah7 opened this issue Oct 19, 2022 · 2 comments
Assignees

Comments

@bhavinshah7
Copy link
Contributor

bhavinshah7 commented Oct 19, 2022

Validate if the default values confirm to the NamedType defined in InputObjectTypes.

InputValueDefinition : desc=StringValue? name=Name ':' namedType=NamedType ('=' defaultValue=Value)? directives+=Directive* (',')?;

Other validations for reference

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

similar validation in graphql-java

@jainrocks
Copy link

@ashpak-shaikh I can take this

@ashpak-shaikh
Copy link
Contributor

Sure

jainrocks pushed a commit to jainrocks/graphql-xtext that referenced this issue Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants