dubbo-go-hessian2 icon indicating copy to clipboard operation
dubbo-go-hessian2 copied to clipboard

传入int,被解析为int64

Open 63isOK opened this issue 3 years ago • 3 comments

What happened: go客户端的参数为int,在go服务端被解析为int64

	//	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

63isOK avatar Sep 07 '21 15:09 63isOK

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

wongoo avatar Sep 08 '21 01:09 wongoo

ok

63isOK avatar Sep 17 '21 03:09 63isOK

Hello folks..! I am Interested in resolving this issue so please explain the issue some more detail .

RAJASHEKARGUNAGANTI avatar Feb 03 '23 19:02 RAJASHEKARGUNAGANTI