@kavo/mikroorm 0.22.1 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -97,11 +97,11 @@ even a loss — SQLite's own `LIKE` is already ASCII case-insensitive.
97
97
  is the same hole `@kavo/prisma` and `@kavo/mongoose` have (only
98
98
  `@kavo/typeorm` escapes it, because `@DeleteDateColumn` is detectable and
99
99
  therefore markable), and the fix belongs in core. Until then, register an
100
- explicit `update`/`patch` DTO that omits the marker.
100
+ explicit `update`/`patch` schema that omits the marker.
101
101
  - **A non-auto-increment primary key is client-writable.**
102
102
  `@PrimaryKey() id: string = v4()` carries none of MikroORM's generated
103
103
  flags, so a `PATCH` can rewrite a row's identity. A numeric `@PrimaryKey()`
104
- is auto-increment and safe. Name the write DTOs explicitly for any entity
104
+ is auto-increment and safe. Name the write schemas explicitly for any entity
105
105
  with a caller-assigned key.
106
106
  - **`hidden` and `lazy` properties are dropped from Kavo entirely.** Not
107
107
  merely hidden from responses — excluding them from the metadata seam is
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kavo/mikroorm",
3
- "version": "0.22.1",
3
+ "version": "0.23.0",
4
4
  "description": "Kavo MikroORM adapter — implements @kavo/core's RepositoryAdapter over a MikroORM EntityManager.",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -27,7 +27,7 @@
27
27
  "dist"
28
28
  ],
29
29
  "dependencies": {
30
- "@kavo/core": "^0.22.1"
30
+ "@kavo/core": "^0.23.0"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@mikro-orm/core": "^7.0.0"