View definition

(*Resource).AddValidator

Defined in github.com/qor/qor/resource/resource.go

Description

AddValidator add validator to resource, it will invoked when creating, updating, and will rollback the change if validator return any error

AddValidator is referenced in 2 repositories

github.com/qor/activity github.com/qor/slug