type

Issue

One stable path-aware schema problem.

Properties

PropertyTypeDescription
CodestringThe Code value.
PathstringThe Path value.
MessagestringThe Message value.
TargetstringTarget correlates a save issue by portable schema and stable row identity. It is opaque to transports and scoped to the operation's locale/form snapshot.
FieldIDStableIDFieldID and resource identity describe a resolved application-validator target.
CollectionIDStableIDThe CollectionID value.
GlobalIDStableIDThe GlobalID value.
LocaleLocaleCodeLocale is the exact translation addressed by a save issue, without fallback.

Full signature

type Issue struct { Code string `json:"code"` Path string `json:"path"` Message string `json:"message"` // Target correlates a save issue by portable schema and stable row identity. // It is opaque to transports and scoped to the operation's locale/form snapshot. Target string `json:"target,omitempty"` // FieldID and resource identity describe a resolved application-validator target. FieldID StableID `json:"fieldId,omitempty"` CollectionID StableID `json:"collectionId,omitempty"` GlobalID StableID `json:"globalId,omitempty"` // Locale is the exact translation addressed by a save issue, without fallback. Locale LocaleCode `json:"locale,omitempty"` }

Source schema/error.go:9