Getting started Community Training Tutorials Documentation APIs, AI & Tools
- policyRef:
name: graphql-static-query-complexity-flex
config:
maximumComplexity: <number> // REQUIRED, must be positive
source: <string> // OPTIONAL, default: context; values: "context" or "inline"
schema: <string> // REQUIRED when source is inline; omit when source is context
defaultFieldCost: <number> // OPTIONAL, default: 1.0, must be >= 0
blockOperation: <boolean> // OPTIONAL, default: true
rejectUnboundedLists: <boolean> // OPTIONAL, default: true
directiveName: <string> // OPTIONAL, default: cost
valueArgument: <string> // OPTIONAL, default: weight
multipliersArgument: <string> // OPTIONAL, default: multipliers



