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
In this scenario, the following code inside the com.apollographql.federation.graphqljava.SchemaTransformer#entityPredicate method will fail: entityCandidate.getAllDirectivesByName().containsKey(FederationDirectives.keyName)
This occurs because FederationDirectives.keyName is hardcoded to "key". As a result, the _Entity will not be generated in the schema by the com.apollographql.federation.graphqljava.SchemaTransformer#build.
The text was updated successfully, but these errors were encountered:
Let's say I import the
@key
directive as@myKey
:In this scenario, the following code inside the
com.apollographql.federation.graphqljava.SchemaTransformer#entityPredicate
method will fail:entityCandidate.getAllDirectivesByName().containsKey(FederationDirectives.keyName)
This occurs because
FederationDirectives.keyName
is hardcoded to "key". As a result, the_Entity
will not be generated in the schema by thecom.apollographql.federation.graphqljava.SchemaTransformer#build
.The text was updated successfully, but these errors were encountered: