cost
Assigns a value to a type or field in a GraphQL schema that is used when calculating the cost of a GraphQL operation.
directive @cost(
value: NonNegativeInt!
) on
| FIELD_DEFINITION
| OBJECT
Arguments
cost.value
● NonNegativeInt!
non-null scalar
A value to assign to a type or field to specify a cost for the field or type when calculating the cost of GraphQL operations.