Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to support multiple endpoint with different basePackages #150

Open
underscore05 opened this issue Jun 2, 2024 · 0 comments
Open

How to support multiple endpoint with different basePackages #150

underscore05 opened this issue Jun 2, 2024 · 0 comments

Comments

@underscore05
Copy link

I tried to work on the bare graphql-spqr but this spring-boot-starter seems to offer stuff that I wanted to use like support for reactive endpoints.

But it only offers a single /graphql endpoint. What I want is something like /admin/graphql and /customer/graphql. Can you help me create a multiple GraphQLSchemaGenerator with bean qualifier so that I can attach it to a controller? Or maybe something like an additional parameter to @GraphQLAPI endpoint where I can specify which endpoint it will belongs to?

I wanted to have a separate endpoint so the introspection won't expose admin and other unnecessary graphql commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant