@flock/wirespec 0.12.2 → 0.12.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
|
@@ -732,7 +732,7 @@ function emitDeserializedParams_1(_this__u8e3s4, $this, fields) {
|
|
|
732
732
|
return Spacer_instance.w24(4) + 'java.util.Optional.ofNullable(request.' + fields + '().get("' + _this__u8e3s4.e25_1.b1() + '")).map(it -> serialization.<' + $this.i25(_this__u8e3s4.f25_1) + '>deserializeParam(it, Wirespec.getType(' + $this.i25(_this__u8e3s4.f25_1) + '.class, ' + _get_isIterable__qavhhr(_this__u8e3s4.f25_1, $this) + ')))' + (!_this__u8e3s4.f25_1.sm() ? '.get()' : '');
|
|
733
733
|
}
|
|
734
734
|
function emitSerializedHeader(_this__u8e3s4, $this) {
|
|
735
|
-
return 'java.util.Map.entry("' + _this__u8e3s4.e25_1.b1() + '", serialization.
|
|
735
|
+
return 'java.util.Map.entry("' + _this__u8e3s4.e25_1.b1() + '", serialization.serializeParam(r.getHeaders().' + $this.h25(_this__u8e3s4.e25_1) + '(), Wirespec.getType(' + $this.i25(_this__u8e3s4.f25_1) + '.class, ' + _get_isIterable__qavhhr(_this__u8e3s4.f25_1, $this) + ')))';
|
|
736
736
|
}
|
|
737
737
|
function emitIdentifier(_this__u8e3s4, $this) {
|
|
738
738
|
return 'serialization.serialize(request.path.' + Companion_getInstance_3().m25($this.h25(_this__u8e3s4.j25_1)) + ', Wirespec.getType(' + $this.i25(_this__u8e3s4.k25_1) + '.class, ' + _get_isIterable__qavhhr(_this__u8e3s4.k25_1, $this) + '))';
|
|
@@ -952,7 +952,7 @@ function JavaEmitter$emitDeserializedParams$lambda_1(this$0) {
|
|
|
952
952
|
}
|
|
953
953
|
function JavaEmitter$emitDeserializedParams$lambda_2(this$0) {
|
|
954
954
|
return function (it) {
|
|
955
|
-
return Spacer_instance.w24(4) + 'java.util.Optional.ofNullable(response.headers().get("' + it.e25_1.b1() + '")).map(it -> serialization.
|
|
955
|
+
return Spacer_instance.w24(4) + 'java.util.Optional.ofNullable(response.headers().get("' + it.e25_1.b1() + '")).map(it -> serialization.deserializeParam(it, Wirespec.getType(' + this$0.i25(it.f25_1) + '.class, ' + _get_isIterable__qavhhr(it.f25_1, this$0) + ')))' + (!it.f25_1.sm() ? '.get()' : '');
|
|
956
956
|
};
|
|
957
957
|
}
|
|
958
958
|
function JavaEmitter$emitSerialized$lambda(this$0) {
|