Skip to content

Interface: ResourcefulHooks ​

Combined hook interface providing both query scoping and payload validation.

Used by the update operation which needs both query scoping (to find the record) and payload validation (to validate the update data).

Properties ​

PropertyTypeDescription
payloadValidationSchemasResourcefulValidationHooksPayload validation schema getters for additional validation
queryScopeCallbacksResourcefulScopeHooksQuery scope callbacks for constraining database queries