diff --git a/website/pages/docs/plugins/complexity.mdx b/website/pages/docs/plugins/complexity.mdx index 0e016290e..9edbb63c5 100644 --- a/website/pages/docs/plugins/complexity.mdx +++ b/website/pages/docs/plugins/complexity.mdx @@ -43,9 +43,10 @@ building the schema: ```typescript const builder = new SchemaBuilder({ plugins: [ComplexityPlugin], - defaultComplexity: 1, - defaultListMultiplier: 10, + complexity: { + defaultComplexity: 1, + defaultListMultiplier: 10, limit: { complexity: 500, depth: 10,