dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

如何改变genericService.$invoke里面传的参数不需要传参数类型

Open 1076572358 opened this issue 7 years ago • 2 comments

如果我想实现调用genericService.$invoke(methodName, new String[]{}, new Object[]{}) 里面传的参数类型设置为null,为:genericService.$invoke(methodName, null, new Object[]{}),通过修改底层哪部分代码能够实现。目前定位到了GenericFilter这个类。

1076572358 avatar Aug 14 '19 00:08 1076572358

为什么一定要传null,空数组不就代表没有参数了吗?

tswstarplanet avatar Aug 14 '19 03:08 tswstarplanet

No feedback for a long time, please close the issue temporarily. If there is still a problem, you can reopen it.

CrazyHZM avatar Oct 20 '21 23:10 CrazyHZM