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

Remove configuration key for GraphQL schema path #79

Closed
bclozel opened this issue Jul 2, 2021 · 0 comments
Closed

Remove configuration key for GraphQL schema path #79

bclozel opened this issue Jul 2, 2021 · 0 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@bclozel
Copy link
Member

bclozel commented Jul 2, 2021

Currently, the GraphQL schema is exposed under /graphql/schema (so relative to the main graphql endpoint) and is configurable with the spring.graphql.schema.printer.path configuration property.

In theory, this could be set to any value and exposed anywhere. This is causing several issues:

  • it makes the security configuration more complex if the schema is not exposed under the main graphql path
  • while there's no standard for this, enforcing a consistent location for the schema will help Gateway products
  • for now, we don't see a strong use case for configuring this
@bclozel bclozel added this to the 1.0 M1 milestone Jul 2, 2021
@bclozel bclozel self-assigned this Jul 2, 2021
@bclozel bclozel closed this as completed in 2be79c2 Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant