method

PolymorphicRelationshipsField.AppendReadHooks

AppendReadHooks appends response-transform hooks after existing callbacks.

Arguments

ArgumentTypeDescription
valueReadHooks[store.Value]The value value.

Returns

The declared result.

PolymorphicRelationshipsField

Full signature

Related types

  • PolymorphicRelationshipsField

    PolymorphicRelationshipsField configures links to documents from any of the target collections.

  • ReadHooks

    ReadHooks registers response transformations using the field's output type, which can differ from its write type when a relationship is populated.

  • Value

    An immutable scalar, object, list, or populated document value.