MCPcopy
hub / github.com/pocketbase/pocketbase / PreValidate

Method PreValidate

core/db.go:43–43  ·  view source on GitHub ↗

PreValidate defines a function that runs BEFORE the validation hooks.

(ctx context.Context, app App)

Source from the content-addressed store, hash-verified

41type PreValidator interface {
42 // PreValidate defines a function that runs BEFORE the validation hooks.
43 PreValidate(ctx context.Context, app App) error
44}
45
46// PostValidator defines an optional model interface for registering a

Callers 1

ValidateWithContextMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected