@opra/common 0.33.11 → 0.33.12
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/browser.js
CHANGED
|
@@ -11210,7 +11210,7 @@ var CrudOperation = class extends Endpoint {
|
|
|
11210
11210
|
this.decodeInput = vg12.isAny();
|
|
11211
11211
|
this.encodeReturning = vg12.isAny();
|
|
11212
11212
|
this.returnType = init.returnType instanceof DataType ? init.returnType : this.resource.document.getDataType(init.returnType || "any");
|
|
11213
|
-
this.encodeReturning = this.returnType.generateCodec("encode", { operation: "read" });
|
|
11213
|
+
this.encodeReturning = this.returnType.generateCodec("encode", { operation: "read", partial: true });
|
|
11214
11214
|
this.inputOverwriteFields = init.options?.inputOverwriteFields;
|
|
11215
11215
|
this.outputOverwriteFields = init.options?.outputOverwriteFields;
|
|
11216
11216
|
}
|
|
@@ -19,7 +19,7 @@ class CrudOperation extends endpoint_js_1.Endpoint {
|
|
|
19
19
|
this.encodeReturning = valgen_1.vg.isAny();
|
|
20
20
|
this.returnType = init.returnType instanceof data_type_js_1.DataType
|
|
21
21
|
? init.returnType : this.resource.document.getDataType(init.returnType || 'any');
|
|
22
|
-
this.encodeReturning = this.returnType.generateCodec('encode', { operation: 'read' });
|
|
22
|
+
this.encodeReturning = this.returnType.generateCodec('encode', { operation: 'read', partial: true });
|
|
23
23
|
this.inputOverwriteFields = init.options?.inputOverwriteFields;
|
|
24
24
|
this.outputOverwriteFields = init.options?.outputOverwriteFields;
|
|
25
25
|
}
|
|
@@ -16,7 +16,7 @@ export class CrudOperation extends Endpoint {
|
|
|
16
16
|
this.encodeReturning = vg.isAny();
|
|
17
17
|
this.returnType = init.returnType instanceof DataType
|
|
18
18
|
? init.returnType : this.resource.document.getDataType(init.returnType || 'any');
|
|
19
|
-
this.encodeReturning = this.returnType.generateCodec('encode', { operation: 'read' });
|
|
19
|
+
this.encodeReturning = this.returnType.generateCodec('encode', { operation: 'read', partial: true });
|
|
20
20
|
this.inputOverwriteFields = init.options?.inputOverwriteFields;
|
|
21
21
|
this.outputOverwriteFields = init.options?.outputOverwriteFields;
|
|
22
22
|
}
|