You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/07 15:41:14 UTC

[GitHub] [dubbo-go-hessian2] 63isOK opened a new issue #277: 传入int,被解析为int64

63isOK opened a new issue #277:
URL: https://github.com/apache/dubbo-go-hessian2/issues/277


   <!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks!
   
   -->
   
   
   **What happened**:
   go客户端的参数为int,在go服务端被解析为int64
   
   ```go
   	//	return "C"
   	case int:
   		return "J"
   	case []int:
   		return "[J"
   	case int32:
   		return "I"
   	case []int32:
   		return "[I"
   	case int64:
   		return "J"
   ```
   他们都被映射为J,但反向的却是错的.
   
   **What you expected to happen**:
   
   int被解析正确
   
   **How to reproduce it (as minimally and precisely as possible)**:
   
   **Anything else we need to know?**:
   测试环境 v2


-- 
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@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-hessian2] wongoo commented on issue #277: 传入int,被解析为int64

Posted by GitBox <gi...@apache.org>.
wongoo commented on issue #277:
URL: https://github.com/apache/dubbo-go-hessian2/issues/277#issuecomment-914763125


   @63isOK 建议参数定义的时候都定义为  int64


-- 
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@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-hessian2] 63isOK closed issue #277: 传入int,被解析为int64

Posted by GitBox <gi...@apache.org>.
63isOK closed issue #277:
URL: https://github.com/apache/dubbo-go-hessian2/issues/277


   


-- 
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@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-go-hessian2] 63isOK commented on issue #277: 传入int,被解析为int64

Posted by GitBox <gi...@apache.org>.
63isOK commented on issue #277:
URL: https://github.com/apache/dubbo-go-hessian2/issues/277#issuecomment-921428659


   ok


-- 
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@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org