Support for multiple paths pointing to different graphql schema

121 views Asked by At

I have two graphql schemas that we can say one as admin and one as internal and i need to map each with a separate graphql endpoint as:-

Schema - admin.graphqls, internal.graphqls

/graphql/admin and /graphql/internal

however the exposed configuration property we have in spring-boot-starter-graphql is a string so possible only one endpoint can be configured. I'm looking for a way to map the other one too.

dependencies used - spring-boot-starter-graphql - 3.1.5

spring:
    graphql:
      path: /graphql/admin/

When using the graphql kickstart libraries there was a way to get access to AbstractGraphQlHttpServlet which we could use to register both mapping but not with this one.

0

There are 0 answers