@venncity/nested-mutation-hooks
TypeScript icon, indicating that this package has built-in type declarations

1.3.42 • Public • Published

Nested Mutation Hooks

Coverage

preCreation / postCreation and preUpdate / postUpdate hooks, designed to allow resolving OpenCRUD nested mutation api, one level at a time (similarly to the way standard apollo server resolvers work on queried nested-entities).

This allows implementing simpler resolving logic, as each mutation resolving has to only deal with the current entity (/level). Useful for implementing authorization checks, auditing entity changes, and more.

Readme

Keywords

none

Package Sidebar

Install

npm i @venncity/nested-mutation-hooks

Weekly Downloads

115

Version

1.3.42

License

none

Unpacked Size

208 kB

Total Files

47

Last publish

Collaborators

  • venncity-admin