Ghost/ghost/model-to-domain-event-interceptor
Naz cb532ea819 Fixed tag.deleted event mapping
https://github.com/TryGhost/Arch/issues/90

- When a tag.deleted event is emitted the original 'data' object does not contain an 'id' property. The logic in collections service assumes the id would be present to update the collections efficiently.
2023-09-14 14:31:23 +08:00
..
src Fixed tag.deleted event mapping 2023-09-14 14:31:23 +08:00
test Fixed tag.deleted event mapping 2023-09-14 14:31:23 +08:00
.eslintrc.js
package.json
README.md
tsconfig.json

Model To Domain Event Interceptor

Model event interceptor that maps legacy model events to Domain event

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests