Skip to content

Backport _FieldSet Federation v2 fix to 6.x.x branch #1618

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

Merged
merged 1 commit into from
Dec 16, 2022
Merged

Backport _FieldSet Federation v2 fix to 6.x.x branch #1618

merged 1 commit into from
Dec 16, 2022

Conversation

hrkfdn
Copy link

@hrkfdn hrkfdn commented Dec 15, 2022

📝 Description

Currently, the schema generation in 6.3.2 will generate an invalid output containing a _FieldSet scalar instead of FieldSet. Such a schema will be rejected by Apollo Studio.

🔗 Related Issues

* [federation] rename _FieldSet to FieldSet in Federation v2

Per [Apollo Specification](https://www.apollographql.com/docs/federation/federation-spec), `_FieldSet` was renamed to `FieldSet` in Federation v2.

Resolves: #1512

* ktlint - unused imports
@hrkfdn hrkfdn marked this pull request as ready for review December 15, 2022 15:02
@samuelAndalon
Copy link
Contributor

samuelAndalon commented Dec 15, 2022

Hello, thank you for the contribution!, for the documentation changes you would need a follow up PR against master updating versioned_docs/version-6.x.x

@hrkfdn
Copy link
Author

hrkfdn commented Dec 15, 2022

@samuelAndalon samuelAndalon self-requested a review December 16, 2022 16:55
@samuelAndalon samuelAndalon merged commit 16f5eb4 into ExpediaGroup:6.x.x Dec 16, 2022
@hrkfdn hrkfdn deleted the hf/backport_fieldset_fix branch December 18, 2022 18:50
dariuszkuc added a commit to dariuszkuc/graphql-kotlin that referenced this pull request Jan 17, 2023
dariuszkuc added a commit that referenced this pull request Jan 17, 2023
This was fixed in #1593 and broken again in #1618.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants