@opra/sqb 1.29.2 → 1.29.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.29.2",
3
+ "version": "1.29.4",
4
4
  "description": "Opra SQB adapter package",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -11,8 +11,8 @@
11
11
  "valgen": "^6.2.2"
12
12
  },
13
13
  "peerDependencies": {
14
- "@opra/core": "^1.29.2",
15
- "@opra/http": "^1.29.2",
14
+ "@opra/core": "^1.29.4",
15
+ "@opra/http": "^1.29.4",
16
16
  "@sqb/builder": ">=5.0.1 <6",
17
17
  "@sqb/connect": ">=5.0.1 <6"
18
18
  },
@@ -134,6 +134,7 @@ export class SqbEntityService extends SqbServiceBase {
134
134
  fieldHook: (_, __, defaultGenerator) => {
135
135
  return vg.oneOf([defaultGenerator(), vg.isInstanceOf(SqlElement)]);
136
136
  },
137
+ ignoreReadonlyFields: true,
137
138
  };
138
139
  if (operation === 'update') {
139
140
  options.partial = 'deep';
@@ -158,6 +159,7 @@ export class SqbEntityService extends SqbServiceBase {
158
159
  projection: '*',
159
160
  partial: 'deep',
160
161
  scope: this._dataTypeScope,
162
+ ignoreReadonlyFields: true,
161
163
  };
162
164
  validator = dataType.generateCodec('decode', options);
163
165
  this._outputCodecs[cacheKey] = validator;