Validate triggers the OnModelValidate hook for the specified model.
(model Model)
| 353 | |
| 354 | // Validate triggers the OnModelValidate hook for the specified model. |
| 355 | Validate(model Model) error |
| 356 | |
| 357 | // ValidateWithContext is the same as Validate but allows specifying the ModelEvent context. |
| 358 | ValidateWithContext(ctx context.Context, model Model) error |
no outgoing calls