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

Wildcard server in router to be able to get /graphql/NameOfTheQuery #474

Closed
voslartomas opened this issue Feb 1, 2024 · 3 comments
Closed
Labels
enhancement New feature or request

Comments

@voslartomas
Copy link
Contributor

Component(s)

router

Is your feature request related to a problem? Please describe.

We are using named queries in our client like this, but cosmo router is expecting only /graphql

https://router-dev.com/graphql/GetUserInfo

Describe the solution you'd like

We would like to be able to define wildcard mask for main /graphql endpoint.

Describe alternatives you've considered

No response

Additional context

No response

@voslartomas voslartomas added the enhancement New feature or request label Feb 1, 2024
Copy link

github-actions bot commented Feb 1, 2024

WunderGraph commits fully to Open Source and we want to make sure that we can help you as fast as possible.
The roadmap is driven by our customers and we have to prioritize issues that are important to them.
You can influence the priority by becoming a customer. Please contact us here.

@Aenimus
Copy link
Member

Aenimus commented Feb 1, 2024

This is already available through GRAPHQL_PATH.
Please see the attached screenshot:
Screenshot 2024-02-01 at 21 42 02

A full list of router configuration variables can be found here:
https://cosmo-docs.wundergraph.com/router/configuration#router

Does this solve your issue?

@jensneuse
Copy link
Member

Please re-open if the proposed solution doesn't work.

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

No branches or pull requests

3 participants