method

PolymorphicRelationshipField.HookPolicy

Public method PolymorphicRelationshipField.HookPolicy from github.com/riducms/ridu/field.

Returns

The declared result.

Hooks[store.Value]

Full signature

Related types

  • PolymorphicRelationshipField

    PolymorphicRelationshipField configures a link to one document from any of the target collections.

  • Hooks

    Hooks registers transforms and event callbacks for one field. Each list runs in declaration order for each field occurrence, including nested array rows. Collection or global hooks run first in the same phase, except AfterCommit, where field callbacks run first. Use ReadHooks for response transformations.

  • Value

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