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

[FEI-6084] Fix handling of input objects with required attributes that have default values #72

Merged
merged 3 commits into from
Jan 9, 2025

Conversation

jaredly
Copy link
Collaborator

@jaredly jaredly commented Jan 8, 2025

Summary:

Previously they were mistakenly reported as non-nullable.

Issue: FEI-6084

Test plan:

See updated snapshot; friendly is required with a default value, and the generated type has it as nullable.

@jaredly jaredly self-assigned this Jan 8, 2025
Copy link

changeset-bot bot commented Jan 8, 2025

🦋 Changeset detected

Latest commit: a7b3561

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

This PR includes changesets to release 1 package
Name Type
@khanacademy/graphql-flow 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

@jaredly jaredly marked this pull request as ready for review January 8, 2025 21:36
@jaredly jaredly requested a review from a team January 8, 2025 21:36
Copy link

@kevinb-khan kevinb-khan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me. Thanks for fixing this issue. 🎉

@jaredly jaredly merged commit 09f72b5 into main Jan 9, 2025
1 check passed
@jaredly jaredly deleted the FEI-6084 branch January 9, 2025 18:36
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.

3 participants