dobo 2.29.0 → 2.29.2

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.
@@ -33,11 +33,11 @@ async function sanitizeBody ({ body = {}, partial, strict, extFields = [], noDef
33
33
 
34
34
  const omitted = []
35
35
  const details = []
36
- const properties = [...this.properties, ...extFields]
36
+ const properties = [...this.getProperties(), ...extFields]
37
37
  for (const prop of properties) {
38
38
  try {
39
39
  if (partial && !has(body, prop.name)) {
40
- if (prop.type === 'array') result[prop.name] = null
40
+ // if (prop.type === 'array') result[prop.name] = null
41
41
  continue
42
42
  }
43
43
  result[prop.name] = body[prop.name]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dobo",
3
- "version": "2.29.0",
3
+ "version": "2.29.2",
4
4
  "description": "DBMS for Bajo Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-06-11
4
+
5
+ - [2.29.1] Bug fix in ```model.sanitizeBody()```
6
+ - [2.29.2] Bug fix in ```model.sanitizeBody()```
7
+
3
8
  ## 2026-06-10
4
9
 
5
10
  - [2.29.0] Feature ```dobo:immutable``` now using array instead of boolean