method

RelationshipField.HookPolicy

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

Returns

The declared result.

Hooks[operation.ID]

Full signature

Related types

  • RelationshipField

    RelationshipField configures a link to one document in the target collection.

  • 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.

  • ID

    ID is the logical write value of a singular relationship. It is distinct from the potentially populated logical read value.