Commit fadf21d
feat: block overwriting alokai metadata (#7300)
* feat: block overwriting alokai metadata
* refactor: outsourced deep merging of obj's to lodash.merge
* feat: guard to prevent overwriting alokai key in metadata obj
* fix: tests
* Update packages/middleware/src/logger/injectMetadata.ts
Co-authored-by: Bartosz Herba <[email protected]>
---------
Co-authored-by: Bartosz Herba <[email protected]>1 parent b9ce521 commit fadf21d
File tree
20 files changed
+806
-683
lines changed- .changeset
- packages
- middleware
- __tests__
- integration
- unit
- apiClientFactory
- handlers
- src
- apiClientFactory
- errors
- handlers
- callApiFunction
- prepareApiFunction
- prepareArguments
- prepareLogger
- integrations
- helpers
- logger
- types
- sdk/src/__tests__/integration/modules
20 files changed
+806
-683
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments