This is an automated email from the ASF dual-hosted git repository.
hufeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-js.git
The following commit(s) were added to refs/heads/master by this push:
new 2783cc1 fixed: remove check hessian type
2783cc1 is described below
commit 2783cc1d1103162132a9e4a29590092f2978037b
Author: hufeng <[email protected]>
AuthorDate: Sat Jul 3 22:03:32 2021 +0800
fixed: remove check hessian type
---
packages/dubbo-service/src/dubbo-service.ts | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/packages/dubbo-service/src/dubbo-service.ts
b/packages/dubbo-service/src/dubbo-service.ts
index da55c4c..7db0acd 100644
--- a/packages/dubbo-service/src/dubbo-service.ts
+++ b/packages/dubbo-service/src/dubbo-service.ts
@@ -201,13 +201,14 @@ export default class DubboService {
...(request.args || []),
ctx
])
+ // FIXEDME waiting dubbo/dj
// check hessian type
- if (!util.checkRetValHessian(res)) {
- ctx.body.err = new Error(
- `${path}#${methodName} return value not hessian type`
- )
- return
- }
+ // if (!util.checkRetValHessian(res)) {
+ // ctx.body.err = new Error(
+ // `${path}#${methodName} return value not hessian type`
+ // )
+ // return
+ // }
ctx.body.res = res
} catch (err) {
log(`handle request error %s`, err)