How to stitch different shcemas to different endpoints in spring graphql?

63 Views Asked by At

I have a problem similar to this. I want to have multiple schemas and expose them over separate endpoints. I tried the method suggested in the answer posted above, which is registering different GraphQLSource objects, but I am getting an issue that multiple DataLoaders are getting registered. I am guessing that is because I am trying to use AnnotatedController loaders i.e I am having annotated @SchemaMapping methods. When I try to not include the normal GraphqlSource only one of the schemas get registered, any help?

I tried following the answer posted here

0

There are 0 best solutions below