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(bindings): omit variables when all keys are nullable #2623

Merged
merged 1 commit into from
Aug 19, 2022

Conversation

JoviDeCroock
Copy link
Collaborator

Resolves #2622

Summary

When all keys are nullable we should make the variables nullable as well, this fixes an issue we had with graphql-code-generator when encountering a shape like { key: T | null }

@changeset-bot
Copy link

changeset-bot bot commented Aug 19, 2022

🦋 Changeset detected

Latest commit: ea48929

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@urql/preact Patch
urql Patch
@urql/svelte Patch
@urql/vue Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@kitten kitten merged commit 39bae9f into main Aug 19, 2022
@kitten kitten deleted the variables-tweaks branch August 19, 2022 20:59
@urql-ci urql-ci mentioned this pull request Aug 19, 2022
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.

Urql codegen with 'typescript-operations' and no variables broken with v3
2 participants