Skip to content

UpdateConfig🔗

Definition🔗

type UpdateConfig struct {
    Render bool `json:"render"`
    DataChanged bool `json:"dataChanged"`
    SchemaChanged bool `json:"schemaChanged"`
}

Methods🔗

UnmarshalJSONStrict🔗

UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode UpdateConfig from JSON.

Note: the unmarshalling done by this function is strict. It will fail over required fields being absent from the input, fields having an incorrect type, unexpected fields being present, …

func (updateConfig *UpdateConfig) UnmarshalJSONStrict(raw []byte) error

Equals🔗

Equals tests the equality of two UpdateConfig objects.

func (updateConfig *UpdateConfig) Equals(other UpdateConfig) bool

Validate🔗

Validate checks all the validation constraints that may be defined on UpdateConfig fields for violations and returns them.

func (updateConfig *UpdateConfig) Validate() error

See also🔗