You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by GitBox <gi...@apache.org> on 2022/09/01 09:45:43 UTC

[GitHub] [shenyu] lossend opened a new issue, #3904: [Question] Is possible to get wrong parameter order when http to dubbo rpc invoke

lossend opened a new issue, #3904:
URL: https://github.com/apache/shenyu/issues/3904

   ### Question
   
   the default dubbo param build function is following:
   <img width="961" alt="image" src="https://user-images.githubusercontent.com/49791601/187884509-16eb08b3-9518-4843-8076-3274fba820f7.png">
   
   Is possible to get wrong parameter order when gson deserialize the json?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shenyu] lossend commented on issue #3904: [Question] Is possible to get wrong parameter order when call http to dubbo rpc invoke

Posted by GitBox <gi...@apache.org>.
lossend commented on issue #3904:
URL: https://github.com/apache/shenyu/issues/3904#issuecomment-1235110886

   > > > Dubbo invoke doesn't care about the order of parameters.
   > > 
   > > 
   > > if paramTYpes is (int, int), also dont'care?
   > 
   > Why not use java obejct?
   
   get resource with two id


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shenyu] lossend commented on issue #3904: [Question] Is possible to get wrong parameter order when call http to dubbo rpc invoke

Posted by GitBox <gi...@apache.org>.
lossend commented on issue #3904:
URL: https://github.com/apache/shenyu/issues/3904#issuecomment-1235063590

   > Dubbo invoke doesn't care about the order of parameters.
   
   if paramTYpes is (int, int), also dont'care?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shenyu] lossend commented on issue #3904: [Question] Is possible to get wrong parameter order when call http to dubbo rpc invoke

Posted by GitBox <gi...@apache.org>.
lossend commented on issue #3904:
URL: https://github.com/apache/shenyu/issues/3904#issuecomment-1235110591

   > > > Dubbo invoke doesn't care about the order of parameters.
   > > 
   > > 
   > > if paramTYpes is (int, int), also dont'care?
   > 
   > Why not use java obejct?
   
   rest api with two id


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shenyu] lossend commented on issue #3904: [Question] Is possible to get wrong parameter order when call http to dubbo rpc invoke

Posted by GitBox <gi...@apache.org>.
lossend commented on issue #3904:
URL: https://github.com/apache/shenyu/issues/3904#issuecomment-1235305967

   > Dubbo invoke doesn't care about the order of parameters.
   you are wong, dubbo params must be ordered
   ![image](https://user-images.githubusercontent.com/49791601/188114556-19f26845-d581-4b95-b76d-2bb0339bc191.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shenyu] KevinClair commented on issue #3904: [Question] Is possible to get wrong parameter order when call http to dubbo rpc invoke

Posted by GitBox <gi...@apache.org>.
KevinClair commented on issue #3904:
URL: https://github.com/apache/shenyu/issues/3904#issuecomment-1235135931

   i mean replace two paramters with a java object. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shenyu] KevinClair commented on issue #3904: [Question] Is possible to get wrong parameter order when call http to dubbo rpc invoke

Posted by GitBox <gi...@apache.org>.
KevinClair commented on issue #3904:
URL: https://github.com/apache/shenyu/issues/3904#issuecomment-1235072159

   > > Dubbo invoke doesn't care about the order of parameters.
   > 
   > if paramTYpes is (int, int), also dont'care?
   
   Why not use java obejct?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shenyu] KevinClair closed issue #3904: [Question] Is possible to get wrong parameter order when call http to dubbo rpc invoke

Posted by GitBox <gi...@apache.org>.
KevinClair closed issue #3904: [Question] Is possible to get wrong parameter order  when call http to dubbo rpc invoke
URL: https://github.com/apache/shenyu/issues/3904


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shenyu] KevinClair commented on issue #3904: [Question] Is possible to get wrong parameter order when call http to dubbo rpc invoke

Posted by GitBox <gi...@apache.org>.
KevinClair commented on issue #3904:
URL: https://github.com/apache/shenyu/issues/3904#issuecomment-1236366934

   I mean dubbo invoke doesn't care about the order of parameters if you replace two paramters with a java object.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shenyu] KevinClair commented on issue #3904: [Question] Is possible to get wrong parameter order when call http to dubbo rpc invoke

Posted by GitBox <gi...@apache.org>.
KevinClair commented on issue #3904:
URL: https://github.com/apache/shenyu/issues/3904#issuecomment-1234267903

   Dubbo invoke doesn't care about the order of parameters.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shenyu] lossend commented on issue #3904: [Question] Is possible to get wrong parameter order when call http to dubbo rpc invoke

Posted by GitBox <gi...@apache.org>.
lossend commented on issue #3904:
URL: https://github.com/apache/shenyu/issues/3904#issuecomment-1235310884

   https://dubbo.apache.org/zh/docs3-v2/dubbo-go-pixiu/user/appendix/http-to-dubbo-default-stragety/#http-request
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shenyu] lossend commented on issue #3904: [Question] Is possible to get wrong parameter order when call http to dubbo rpc invoke

Posted by GitBox <gi...@apache.org>.
lossend commented on issue #3904:
URL: https://github.com/apache/shenyu/issues/3904#issuecomment-1235310785

   the desgin should be refer to dubbo office doc:


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org