@opra/sqb 1.28.3 → 1.28.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/sqb",
3
- "version": "1.28.3",
3
+ "version": "1.28.4",
4
4
  "description": "Opra SQB adapter package",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -10,8 +10,8 @@
10
10
  "valgen": "^6.2.0"
11
11
  },
12
12
  "peerDependencies": {
13
- "@opra/core": "^1.28.3",
14
- "@opra/http": "^1.28.3",
13
+ "@opra/core": "^1.28.4",
14
+ "@opra/http": "^1.28.4",
15
15
  "@sqb/builder": ">=5.0.1 <6",
16
16
  "@sqb/connect": ">=5.0.1 <6"
17
17
  },
@@ -135,8 +135,10 @@ export class SqbEntityService extends SqbServiceBase {
135
135
  return vg.oneOf([defaultGenerator(), vg.isInstanceOf(SqlElement)]);
136
136
  },
137
137
  };
138
- if (operation === 'update')
138
+ if (operation === 'update') {
139
139
  options.partial = 'deep';
140
+ options.allowNullOptionals = true;
141
+ }
140
142
  validator = dataType.generateCodec('decode', options);
141
143
  this._inputCodecs[cacheKey] = validator;
142
144
  return validator;