-
Notifications
You must be signed in to change notification settings - Fork 257
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
feat(federation): Initial support for @tag
and @inaccessible
in composition
#756
feat(federation): Initial support for @tag
and @inaccessible
in composition
#756
Conversation
Broke something on value types - presumably an implicit dependency on `field.extensions.federation` not existing (when now it does)
The changes we made to include applied directives on the field metadata broke a hacky workaround we used to include `@join_field(graph:)` on fields of the owning service, and our fix of that broke `@provides` on fields of value types. This commit cleans up the code a bit so we replicate the previous behavior in a more straightforward way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is ready to be merged. Before the next release, I do think we may want to avoid outputting directive definitions for @inaccessible
and @tag
to avoid changes to every composed schema even if these aren't used. And we still need to define core features for @inaccessible
and @tag
. But I can do that as part of the core schema work that I've started on top of this. That doesn't have to block this PR I think.
…omposition (#756) Introduce the existence and composition of the @tag and @inaccessible directives,to be printed in `supergraphSdl` and used for schema filtering.
…omposition (#756) Introduce the existence and composition of the @tag and @inaccessible directives,to be printed in `supergraphSdl` and used for schema filtering.
Introduce the existence and composition of the
@tag
and@inaccessible
directives,to be printed in
supergraphSdl
and used for schema filtering.TODO: