Documentation ¶
Index ¶
Constants ¶
View Source
const (
PatchField = "patch"
)
Variables ¶
View Source
var RequiredPatchRecordFields = restlicodec.NewRequiredFields().Add(PatchField)
Functions ¶
This section is empty.
Types ¶
type IllegalPartialUpdateError ¶
IllegalPartialUpdateError is returned by PartialUpdateFieldChecker a partial update struct defines an illegal operation, such as deleting and setting the same field.
func (*IllegalPartialUpdateError) Error ¶
func (c *IllegalPartialUpdateError) Error() string
type PartialUpdateFieldChecker ¶
func (*PartialUpdateFieldChecker) CheckField ¶
func (c *PartialUpdateFieldChecker) CheckField( checker restlicodec.KeyChecker, fieldName string, isDeleteSet bool, isSetSet bool, isPartialUpdateSet bool, ) error
Click to show internal directories.
Click to hide internal directories.