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

[FEATURE] Generate null for nullable custom scalars #35

Closed
Stranger6667 opened this issue Apr 23, 2021 · 0 comments · Fixed by #67
Closed

[FEATURE] Generate null for nullable custom scalars #35

Stranger6667 opened this issue Apr 23, 2021 · 0 comments · Fixed by #67
Assignees

Comments

@Stranger6667
Copy link
Owner

Is your feature request related to a problem? Please describe.
At the moment, if a custom scalar is nullable, it is skipped from arguments. But null is a valid value, which is not generated. Example query:

{
  countries(filter: {code: {eq: null}}) {
    languages {
      name
      native
    }
  }
}

Describe the solution you'd like
Generate NullValueNode for such cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant