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

Restore support for explicitly required variables in the tiny operation compiler #250

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

airhorns
Copy link
Contributor

@airhorns airhorns commented Aug 11, 2023

In #231, we dropped the required key from the inputs to the Var doodad for building graphql queries. This makes the code a bit simpler, but, it was a load-bearing key that the metadata from Gadget passed into api-client-core by means of the metadata on the model managers. So, let's keep supporting it to keep compatibility with already generated api clients and not require a cross-package coordination.

…on compiler

This keeps compatibility with the existing variable type inputs in already generated Gadget API clients
@airhorns airhorns marked this pull request as ready for review August 11, 2023 18:53
@airhorns airhorns merged commit a9d924b into main Aug 11, 2023
@airhorns airhorns deleted the tiny-required-variables branch August 11, 2023 18:54
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.

1 participant