youshido-php/GraphQLBundle

Maximum complexity config

kurtjerome opened this issue · 2 comments

How can we set the Processor's maximum complexity?
Is there an undocumented config we can set to do this?

youshido-php/GraphQL#22

Hi, @kurtjerome

You can require this bundle in version "dev-master" in your composer.json file and then configure it in config.yml like in example below:

graph_ql:
    schema_class: "AppBundle\\GraphQL\\Schema"
    max_complexity: 4

We'll make release this this feature very soon.