type
LiveValidationRequest
LiveValidationRequest asks for explicitly enabled advisory checks of an unsaved snapshot. It cannot save, initialize defaults or run mutation hooks. Field paths refer to the submitted snapshot and are validated by the server.
Properties
| Property | Type | Description |
|---|---|---|
ID | string | ID selects an existing collection document. Global requests must omit it. |
Data | store.Values | The Data value. |
Fields | []string | The Fields value. |
Embedded | []LiveValidationEmbeddedScope | The Embedded value. |
Full signature
type LiveValidationRequest struct {
// ID selects an existing collection document. Global requests must omit it.
ID string `json:"id,omitempty"`
Data store.Values `json:"data"`
Fields []string `json:"fields"`
Embedded []LiveValidationEmbeddedScope `json:"embedded,omitempty"`
}