Replies: 2 comments 2 replies
-
there is a MaxQueryDepthInstrumentation that you can use for this in graphql-java: https://www.graphql-java.com/documentation/v17/instrumentation/#query-depth-instrumentation Should work seamlessly with the DGS framework. |
Beta Was this translation helpful? Give feedback.
1 reply
-
You will need to model that in the schema, i.e. have an input parameter to specify how many results are returned if you need that capability. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
if there is a way to limit the max amount of nested queries?
Beta Was this translation helpful? Give feedback.
All reactions