Skip to content

Commit

Permalink
fixed: remove check hessian type
Browse files Browse the repository at this point in the history
  • Loading branch information
hufeng committed Jul 3, 2021
1 parent 355bee9 commit 2783cc1
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packages/dubbo-service/src/dubbo-service.ts
Expand Up @@ -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)
Expand Down

0 comments on commit 2783cc1

Please sign in to comment.