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

[Fix] variables_default_value_extraction sets type as not nullable when variable is provided #642

Conversation

soonick
Copy link
Contributor

@soonick soonick commented Oct 23, 2023

I think this fixes #640

It seems like pkg/astnormalization/variables_default_value_extraction.go removed default values for variables that had a value assigned explicitly, but it wasn't setting the variable as not nullable which resulted in an invalid operation. I believe this should fix it.

@soonick soonick force-pushed the federation.variable.default.value.ext branch from 7150b13 to b2ead43 Compare October 23, 2023 12:10
@soonick soonick force-pushed the federation.variable.default.value.ext branch 2 times, most recently from 445864c to 58f5de2 Compare November 2, 2023 09:15
@soonick soonick force-pushed the federation.variable.default.value.ext branch from 58f5de2 to f63fe5d Compare November 2, 2023 16:18
@devsergiy devsergiy added the wontfix This will not be worked on label Dec 22, 2023
@devsergiy devsergiy closed this Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Federation gateway incorrectly strips default values from operations
2 participants