Open jmartisk opened 2 months ago
@nicholassmith does this resolve your problem in https://github.com/smallrye/smallrye-graphql/issues/2110?
I think it's a starting point, but after experimenting with manipulating the Operations
when it invokes validateSchema
in the GraphQLSchema::buildImpl()
it's checking presence of a Query
. Unfortunately that validate occurs prior to the Federation.transform
which would populate the federation queries so it seems like some changes would be needed there as well.
Ah, right, I didn't notice. In that case though, that's something that would need fixing in graphql-java (https://github.com/graphql-java/graphql-java) - perhaps start a discussion there?
Fixes https://github.com/smallrye/smallrye-graphql/issues/2110