cost
The @cost
directive is used to annotate GraphQL field definitions with a complexity cost.
This cost is utilized by the GraphQL gateway/router server to calculate the complexity of a query,
preventing overly complex queries that might impact server performance.
Arguments
#
Previous
- Mutations
userUpdate
Next
anyScope