method
PluginField.AppendReadHooks
AppendReadHooks appends response-transform hooks after existing callbacks.
Arguments
| Argument | Type | Description |
|---|---|---|
value | ReadHooks[store.Value] | The value value. |
Returns
The declared result.
PluginFieldFull signature
func (f PluginField) AppendReadHooks(value ReadHooks[store.Value]) PluginFieldRelated types
PluginFieldPluginField configures a field provided by the named Go plugin.
ReadHooksReadHooks registers response transformations using the field's output type, which can differ from its write type when a relationship is populated.
ValueAn immutable scalar, object, list, or populated document value.