method
CheckboxField.AppendReadHooks
AppendReadHooks appends response-transform hooks after existing callbacks.
Arguments
| Argument | Type | Description |
|---|---|---|
value | ReadHooks[bool] | The value value. |
Returns
The declared result.
CheckboxFieldFull signature
func (f CheckboxField) AppendReadHooks(value ReadHooks[bool]) CheckboxFieldRelated types
CheckboxFieldCheckboxField configures a true-or-false checkbox field.
ReadHooksReadHooks registers response transformations using the field's output type, which can differ from its write type when a relationship is populated.