graphql-java-kickstart / graphql-java-tools

A schema-first tool for graphql-java inspired by graphql-tools for JS

Home Page:https://www.graphql-java-kickstart.com/tools/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

graphqls file with at least 15000 tokens - What is config to fix

dineshawa opened this issue · comments

I am using graphql-java-tool 13.0.3 and getting error "More then 15000 grammar tokens have been presented" How to increase more then 1500 in springboot config or Code . Please suggest .

Error : Invalid Syntax : More than 15000 grammar tokens have been presented. To prevent Denial Of Service attacks, parsing has been cancelled. offending token '' at line 1 column 179655
I am looking soltion how to incease token size from config or code.

Using latest jar :
implementation ('com.graphql-java-kickstart:graphql-java-tools'){
version {
strictly "13.0.3"
}
}

commented

This is not related to graphql-java-tools. Please refer to graphql-java/graphql-java#2549

I need to allow more then 15000 tokens but not seeing any option to change in config or code for com.graphql-java-kickstart:graphql-java-tools @oryan-block