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 @composeDirective corner case #2046

Merged
merged 4 commits into from
Aug 8, 2022
Merged

Conversation

clenfest
Copy link
Contributor

@clenfest clenfest commented Aug 8, 2022

@composeDirective wasn't working when @link of the link directive was not present.

The reason this is happening is that although we are waiting to process core schemas for think that aren't the link schema, we aren't doing the same for other directives. This fix determines if the schema blueprint is a federation schema, and if so, will wait to process non @link directives until they've all been processed (and the @link to the link spec has been synthetically inserted if necessary).

@netlify
Copy link

netlify bot commented Aug 8, 2022

Deploy Preview for apollo-federation-docs canceled.

Name Link
🔨 Latest commit 3c6568b
🔍 Latest deploy log https://app.netlify.com/sites/apollo-federation-docs/deploys/62f12d105616e50008082e31

@codesandbox-ci
Copy link

codesandbox-ci bot commented Aug 8, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link
Contributor

@benweatherman benweatherman left a comment

Choose a reason for hiding this comment

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

🐐

@clenfest clenfest merged commit d048e65 into main Aug 8, 2022
@clenfest clenfest deleted the clenfest/fix_no_link_link2 branch August 8, 2022 20:03
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.

2 participants