method
RelationshipField.ReadHookPolicy
Public method RelationshipField.ReadHookPolicy from github.com/riducms/ridu/field.
Returns
The declared result.
ReadHooks[operation.ReferenceOutput]Full signature
Related types
RelationshipFieldRelationshipField configures a link to one document 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.