shenyu icon indicating copy to clipboard operation
shenyu copied to clipboard

dubbo plugin: hope the request parameter list can be out of order

Open ttttangzhen opened this issue 5 years ago • 2 comments

Feature Request

Now user need to send parameters in strict order, I think soul dubbo plugin can use key value map to save the parameter name and parameter type relationship.

Describe the solution you'd like

Useing parameter name mapping means that users cannot create metadata by soul dubbo client, so if user want to use shuffle parameters ,they need to configuer dubbo metadata by themselfs (by the way, sometimes we can get parameter name with java bytecode),

for example { "complexBeanTest":"org.dromara.soul.examples.dubbo.api.entity.ComplexBeanTest", "name":"java.lang.String" }

if metadata.parameterType regular match ^{.*}$, means that we can set parameter list by parameter name mapping

ttttangzhen avatar Apr 23 '21 04:04 ttttangzhen

Welcome the PR : )

dengliming avatar Apr 23 '21 06:04 dengliming

Welcome the PR : )

I will do this

ttttangzhen avatar Apr 23 '21 06:04 ttttangzhen