Skip to content

How can I customize the MAX_QUERY_CHARACTERS and other parameters in ParserOptions? #1198

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

Open
Bloodythirsty opened this issue Apr 29, 2025 · 1 comment
Labels
status: waiting-for-feedback We need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged

Comments

@Bloodythirsty
Copy link

The project has integrated spring-graphql with version 1.3.3. How can I customize the MAX_QUERY_CHARACTERS and other parameters in ParserOptions?

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 29, 2025
@bclozel
Copy link
Member

bclozel commented Apr 29, 2025

ParserOptions is a static class from graphql-java. Have you tried calling its static methods to set the default parser options? There is a builder that can help you create a custom instance that suits your needs.

@bclozel bclozel added the status: waiting-for-feedback We need additional information before we can continue label Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-feedback We need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

No branches or pull requests

3 participants