diff --git a/server/implementation/src/main/java/io/smallrye/graphql/bootstrap/FederationDataFetcher.java b/server/implementation/src/main/java/io/smallrye/graphql/bootstrap/FederationDataFetcher.java index a29bc026f..90d93c02d 100644 --- a/server/implementation/src/main/java/io/smallrye/graphql/bootstrap/FederationDataFetcher.java +++ b/server/implementation/src/main/java/io/smallrye/graphql/bootstrap/FederationDataFetcher.java @@ -51,7 +51,8 @@ private Object fetchEntities(DataFetchingEnvironment env, Map re private boolean matchesReturnType(GraphQLFieldDefinition field, String typename) { GraphQLOutputType returnType = field.getType(); - return returnType instanceof GraphQLNamedSchemaElement && ((GraphQLNamedSchemaElement) returnType).getName().equals(typename); + return returnType instanceof GraphQLNamedSchemaElement + && ((GraphQLNamedSchemaElement) returnType).getName().equals(typename); } private boolean matchesArguments(Map requestedArguments, GraphQLFieldDefinition field) {