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

Federation V2 @tag and @key directives are out of date #2370

Closed
shawnhugginsjr opened this issue Sep 14, 2022 · 0 comments
Closed

Federation V2 @tag and @key directives are out of date #2370

shawnhugginsjr opened this issue Sep 14, 2022 · 0 comments

Comments

@shawnhugginsjr
Copy link
Contributor

shawnhugginsjr commented Sep 14, 2022

What happened?

When trying to upload my schema to Apollo Studio (COMPOSITION VERSION 2.0.0), these errors occurred.

Screen Shot 2022-09-14 at 12 05 43

What did you expect?

I expected the sub-graph to upload without a problem.

Minimal graphql.schema and models to reproduce

Any federation v2 schema should have the directives to cause this issue.

Looking at the Apollo Federation 2 Docs, it seems the gqlgen federation 2 directives are just out of date.

Updating the directives fixes the issue for me on a fork of gqlgen.
shippio@68498a9

versions

  • go run github.com/99designs/gqlgen version v0.17.16
  • go version1.18.3
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

No branches or pull requests

2 participants