You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding @key to interface in federation, gqlgen run panics.
The Apollo Federation 1 spec allows this, but it isn't clear what, if anything, gqlgen should do with it. A change between 0.14.0 and 0.16.0 introduced a panic to make it explicit that this wasn't supported. However, it may be benign, and need only warn.
What happened?
When adding @key to interface in federation, gqlgen run panics.
The Apollo Federation 1 spec allows this, but it isn't clear what, if anything, gqlgen should do with it. A change between 0.14.0 and 0.16.0 introduced a panic to make it explicit that this wasn't supported. However, it may be benign, and need only warn.
What did you expect?
Silently ignore the @key directive.
Minimal graphql.schema and models to reproduce
extend interface Hello @key(fields: "name") {
name: String!
secondary: String!
}
versions
gqlgen version
? 0.16.0go version
? 1.17The text was updated successfully, but these errors were encountered: