# Functions
And groups conditions with the AND operator.
FixedError is a hook returning a fixed error.
HasAddedFields is a condition validating `.AddedField` on fields.
HasClearedFields is a condition validating `.FieldCleared` on fields.
HasFields is a condition validating `.Field` on fields.
HasOp is a condition testing mutation operation.
If executes the given hook under condition.
NewChain creates a new chain of hooks.
Not negates a given condition.
On executes the given hook only for the given operation.
Or groups conditions with the OR operator.
Reject returns a hook that rejects all operations that match op.
Unless skips the given hook only for the given operation.
# Type aliases
The APITokenFunc type is an adapter to allow the use of ordinary function as APIToken mutator.
The CASBackendFunc type is an adapter to allow the use of ordinary function as CASBackend mutator.
The CASMappingFunc type is an adapter to allow the use of ordinary function as CASMapping mutator.
Condition is a hook condition function.
The IntegrationAttachmentFunc type is an adapter to allow the use of ordinary function as IntegrationAttachment mutator.
The IntegrationFunc type is an adapter to allow the use of ordinary function as Integration mutator.
The MembershipFunc type is an adapter to allow the use of ordinary function as Membership mutator.
The OrganizationFunc type is an adapter to allow the use of ordinary function as Organization mutator.
The OrgInvitationFunc type is an adapter to allow the use of ordinary function as OrgInvitation mutator.
The ReferrerFunc type is an adapter to allow the use of ordinary function as Referrer mutator.
The RobotAccountFunc type is an adapter to allow the use of ordinary function as RobotAccount mutator.
The UserFunc type is an adapter to allow the use of ordinary function as User mutator.
The WorkflowContractFunc type is an adapter to allow the use of ordinary function as WorkflowContract mutator.
The WorkflowContractVersionFunc type is an adapter to allow the use of ordinary function as WorkflowContractVersion mutator.
The WorkflowFunc type is an adapter to allow the use of ordinary function as Workflow mutator.
The WorkflowRunFunc type is an adapter to allow the use of ordinary function as WorkflowRun mutator.