Is there a way to configure several endpoints, corresponding to different schema files? #288
-
My use case is a test application which mocks several different GraphQL endpoints from existing external services. Is it then possible with DGS to serve different schemas through several endpoints, within the same server application, instead of one schema and the default /graphql? |
Beta Was this translation helpful? Give feedback.
Answered by
srinivasankavitha
May 3, 2021
Replies: 1 comment 1 reply
-
No, we don't have a way to configure this setup. You can change the location from which the schema file is loaded (defaults to src/main/resources/schema), but cannot configure different endpoints out of the box. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
frans-a
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, we don't have a way to configure this setup. You can change the location from which the schema file is loaded (defaults to src/main/resources/schema), but cannot configure different endpoints out of the box.