breaking: move shared HTTP utils to the framework (#9402)
Fixes: FRMW-2728, FRMW-2729 After this PR gets merged the following middleware will be exported from the `@medusajs/framework/http` import path. - applyParamsAsFilters - clearFiltersByKey - applyDefaultFilters - setContext - getQueryConfig - httpCompression - maybeApplyLinkFilter - refetchEntities - unlessPath - validateBody - validateQuery Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com>
This commit is contained in:
co-authored by
Adrien de Peretti
parent
193f93464f
commit
48e00169d2
@@ -38,7 +38,7 @@ An open source composable commerce engine built for developers.
|
||||
|
||||
Local Event Bus module for Medusa. When installed, the events system of Medusa is powered by the Node EventEmitter. This module installed by default in new (> v1.8.0) Medusa projects.
|
||||
|
||||
The Node EventEmitter is limited to a single process environment. We generally recommend using the `@medusajs/event-bus-redis` module in a production environment.
|
||||
The Node EventEmitter is limited to a single process environment. We generally recommend using the `@medusajs/event-bus-redis` module in a production environment.
|
||||
|
||||
## Getting started
|
||||
|
||||
@@ -48,7 +48,7 @@ Install the module:
|
||||
yarn add @medusajs/event-bus-local
|
||||
```
|
||||
|
||||
You don't need to add the module to your project configuration as it is the default one. Medusa will try to use it, if no other event buses are installed.
|
||||
You don't need to add the module to your project configuration as it is the default one. Medusa will try to use it, if no other event buses are installed.
|
||||
|
||||
```js
|
||||
module.exports = {
|
||||
@@ -60,4 +60,4 @@ module.exports = {
|
||||
|
||||
## Configuration
|
||||
|
||||
The module comes with no configuration options.
|
||||
The module comes with no configuration options.
|
||||
|
||||
Reference in New Issue
Block a user