method
JoinField.AppendReadHooks
AppendReadHooks appends authorized join output transformations.
Arguments
| Argument | Type | Description |
|---|---|---|
value | ReadHooks[store.Value] | The value value. |
Returns
The declared result.
JoinFieldFull signature
func (f JoinField) AppendReadHooks(value ReadHooks[store.Value]) JoinFieldRelated types
JoinFieldJoinField configures a list of documents that refer back to this document.
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.