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

Add Playground setting properties through .yml or .properties #153

Open
AnneMayor opened this issue Jul 20, 2024 · 2 comments
Open

Add Playground setting properties through .yml or .properties #153

AnneMayor opened this issue Jul 20, 2024 · 2 comments

Comments

@AnneMayor
Copy link

AnneMayor commented Jul 20, 2024

Hi,

I am using this library(v1.0.0) to our project. It really helps a lot.
However, I would like to suggest one feature that would be more helpful.
For now, I am using Playground to provide clients(mobile, frontend) with query and parameter docs and sample test like swagger.
I found out that the default setting is schema.polling.enable = true. This leads to create many unnecessary server logs. Could you please add new setting properties like graphql-playground library?

spring:
  playground:
    enabled: true
    settings:
      schema:
        polling:
          enable: false
@AnneMayor
Copy link
Author

I found out one solution and it works well.
Therefore, I closed this issue.

graphql:
  spqr:
    playground:
      settings:
        schema:
          polling:
            enable: false

@AnneMayor AnneMayor reopened this Jul 21, 2024
@AnneMayor
Copy link
Author

Sorry, it worked well because of browsing cache.
This issue should be handled.

@AnneMayor AnneMayor reopened this Jul 21, 2024
@kaqqao kaqqao transferred this issue from leangen/graphql-spqr Aug 10, 2024
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