Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Disable graphiql in production #22

Closed
mushketyk opened this issue Jul 21, 2017 · 3 comments
Closed

Disable graphiql in production #22

mushketyk opened this issue Jul 21, 2017 · 3 comments

Comments

@mushketyk
Copy link

Is there a way to have graphiql-spring-boot-starter dependency in the project, but disable it in a particular Spring profile?

@apottere
Copy link
Collaborator

Per the comment on #21 (comment), this isn't possible right now because there isn't actually an autoconfiguration class being run. The solution to both issues is probably to add an autoconfiguration class.

@mushketyk
Copy link
Author

Hi @apottere

I think it would be nice to have this autoconfiguration class if this is possible.

@apottere
Copy link
Collaborator

I added instructions in the readme on graphiql properties in 3.6.0 https://github.com/graphql-java/graphql-spring-boot#enable-graphql-servlet

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

No branches or pull requests

2 participants