You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to wrap a gRPC server which is generated with generic types, instantiation params on the generic types are not prefixed with package in the wrapper.
BadgeEvent is a proto message defined in the same package as the BadgeServer.
In this case gowrap will generate wrapper where BadgeEvent will not be prefixed with its package but will just stay as BadgeEvent. This way it reports an error because as expected the target package doesn't have the type defined.
I have fixed it by disabling generic code generation in protos, but would be nice to have support for this properly in gowrap.
The text was updated successfully, but these errors were encountered:
If I try to wrap a gRPC server which is generated with generic types, instantiation params on the generic types are not prefixed with package in the wrapper.
Provisional example:
BadgeEvent
is a proto message defined in the same package as theBadgeServer
.In this case
gowrap
will generate wrapper whereBadgeEvent
will not be prefixed with its package but will just stay asBadgeEvent
. This way it reports an error because as expected the target package doesn't have the type defined.I have fixed it by disabling generic code generation in protos, but would be nice to have support for this properly in gowrap.
The text was updated successfully, but these errors were encountered: