method
UploadsField.AppendReadHooks
AppendReadHooks appends response-transform hooks after existing callbacks.
Arguments
| Argument | Type | Description |
|---|---|---|
value | ReadHooks[[]operation.ReferenceOutput] | The value value. |
Returns
The declared result.
UploadsFieldFull signature
func (f UploadsField) AppendReadHooks(
value ReadHooks[[]operation.ReferenceOutput],
) UploadsFieldRelated types
UploadsFieldUploadsField configures links to several files in the target upload 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.