folkloreinc / laravel-graphql

Facebook GraphQL for Laravel 5. It supports Relay, eloquent models, validation and GraphiQL.
1.76k stars 233 forks source link

how to set depth for each query #390

Open georgehao opened 6 years ago

georgehao commented 6 years ago

Hello, set the depth for each query is supported bywebonyx/graphql-php, how can i do in laravel-graphql?

killtw commented 6 years ago

config/graphql.php

'security' => [
        'query_max_complexity' => null,
        'query_max_depth' => null,
        'disable_introspection' => false
]