Skip to content

Commit

Permalink
Add global event handler (#1404)
Browse files Browse the repository at this point in the history
* Add global event handler

* Add rush change

* refactor check event handlers

* Add global-event-handler to the event-handler list

* Fix test

* Post-merge updates

* Fix bug related to reserved keywords in Cosmos DB queries

* Change return type of searcher SearcherFunction type

* Refactor Paths type

* Refactor global event handler

* Remove unnecessary comment

---------

Co-authored-by: Castro, Mario <[email protected]>
  • Loading branch information
gonzalojaubert and Castro, Mario authored Jun 11, 2024
1 parent 81eb213 commit 879ef44
Show file tree
Hide file tree
Showing 22 changed files with 383 additions and 111 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@boostercloud/framework-core",
"comment": "Add global event handler",
"type": "minor"
}
],
"packageName": "@boostercloud/framework-core"
}
131 changes: 64 additions & 67 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/framework-core/src/booster-event-dispatcher.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TraceActionTypes, BoosterConfig } from '@boostercloud/framework-types'
import { BoosterConfig, TraceActionTypes } from '@boostercloud/framework-types'
import { EventStore } from './services/event-store'
import { RawEventsParser } from './services/raw-events-parser'
import { ReadModelStore } from './services/read-model-store'
Expand Down
Loading

0 comments on commit 879ef44

Please sign in to comment.