method
RelationshipsField.AppendReadHooks
AppendReadHooks appends response-transform hooks after existing callbacks.
Arguments
| Argument | Type | Description |
|---|---|---|
value | ReadHooks[[]operation.ReferenceOutput] | The value value. |
Returns
The declared result.
RelationshipsFieldFull signature
Related types
RelationshipsFieldRelationshipsField configures links to several documents in the target collection.
ReadHooksReadHooks registers response transformations using the field's output type, which can differ from its write type when a relationship is populated.
ReferenceOutputReferenceOutput is the logical read value of a singular relationship. ID is available regardless of whether an authorized document was populated.