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
It should exist a way to add some/own directives to the model with annotations.
E.g:
@GraphQlFederationKey(fields = "id")
@GraphQlFederationExtends
@GraphQLType(name = "Product")
public class ExtensionProduct {
@GraphQlFederationExternal
long id;
--> the result is after generation:
extend type Product @key(fields: "id"){
id: ID! @external
}
It should exist a way to add some/own directives to the model with annotations.
E.g:
@GraphQlFederationKey(fields = "id")
@GraphQlFederationExtends
@GraphQLType(name = "Product")
public class ExtensionProduct {
@GraphQlFederationExternal
long id;
--> the result is after generation:
extend type Product @key(fields: "id"){
id: ID! @external
}
Thats some directives they will be used in federational schema - Apollo Federation:
https://www.apollographql.com/docs/apollo-server/federation/introduction/
The text was updated successfully, but these errors were encountered: