更新kitex后报错 v0.10.3
Closed this issue · 5 comments
go build .
github.com/cloudwego/kitex/pkg/generic/thrift
../../go/pkg/mod/github.com/cloudwego/kitex@v0.10.3/pkg/generic/thrift/http_go116plus_amd64.go:69:67: field.Type().Type().ToThriftTType undefined (type "github.com/cloudwego/dynamicgo/thrift".Type has no field or method ToThriftTType)
../../go/pkg/mod/github.com/cloudwego/kitex@v0.10.3/pkg/generic/thrift/json_go116plus_amd64.go:105:67: field.Type().Type().ToThriftTType undefined (type "github.com/cloudwego/dynamicgo/thrift".Type has no field or method ToThriftTType)
忽略,应该是更新 github.com/cloudwego/dynamicgo v0.4.0 引起的
将dynamicgo版本降到 0.2.8 解决
使用v0.4.0的dynamicgo本地可以构建,GitHub CI时出现楼主一样的错误
降到0.2.8又出现其他问题了
link: github.com/cloudwego/dynamicgo/internal/json: invalid reference to encoding/json.safeSet
go version: 1.23.0
kitex version: v0.10.3
使用v0.4.0的dynamicgo本地可以构建,GitHub CI时出现楼主一样的错误 降到0.2.8又出现其他问题了 link: github.com/cloudwego/dynamicgo/internal/json: invalid reference to encoding/json.safeSet
go version: 1.23.0 kitex version: v0.10.3
使用v0.3.0的dynamicgo解决
@sanchui0814 @chuxin0816
Hello, thank you for your report. Actually github.com/cloudwego/kitex v0.10.3 depends on dynamicgo v0.2.9.
Please use dynamicgo v0.2.9.
ping @Marina-Sakai same issue on kitex v0.1.33 and dynamicgo v0.4.4