method
SelectField.AppendReadHooks
AppendReadHooks appends response-transform hooks after existing callbacks.
Arguments
| Argument | Type | Description |
|---|---|---|
value | ReadHooks[string] | The value value. |
Returns
The declared result.
SelectFieldFull signature
func (f SelectField) AppendReadHooks(value ReadHooks[string]) SelectFieldRelated types
SelectFieldSelectField configures a field for choosing one value from a fixed list.
ReadHooksReadHooks registers response transformations using the field's output type, which can differ from its write type when a relationship is populated.