type

PluginFieldValidationContext

Resolved plugin field and candidate value supplied to validation.

Properties

PropertyTypeDescription
Fieldschema.FieldThe resolved manifest definition owned by the plugin.
RuntimePathstringThe concrete path including array or block indexes.
Valuestore.ValueThe candidate document value.

Full signature

type PluginFieldValidationContext struct { // Field is the resolved manifest definition owned by the plugin. Field schema.Field // RuntimePath identifies this concrete value occurrence. Unlike Field.Path, // it includes array and block indexes and omits block schema discriminators. RuntimePath string // Value is the candidate document value to validate. Value store.Value }

Source core/plugin.go:187