-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with gogo/protobuf
#359
Comments
What commands did you run, and what failing output did you see? I tried downloading the latest version of https://github.com/gogo/protobuf (v1.3.2) and of Twirp, and using
Is that what you're reporting? That function call uses arguments of type
That's a change from
The code that gofast generates appears to implement
It looks like Twirp v8 included a move from the deprecated github.com/golang/protobuf module to its successor google.golang.org/protobuf in #304. It looks like github.com/gogo/protobuf can only interop with the deprecated module. So this doesn't look Twirp-specific to me. Maybe the gogo maintainers have ideas on how to interop with the current version of Google's protobuf+Go support? But I could be missing something. Twirp v8 requires that its generated code can use a message type
|
Hi @ditsuke, just checking in here. |
I want to use Twirp with structures generated by gogo's
gofast
compiler for idiomatic go structs. As of v8.1.2, twirp generated code seems to not be compatible with gogo'sgofast
compiler (twirp seemed to have a compatibility test as of v7.2.0). Are there any plans forgofast
compatibility and are there any generator options I'm missing?The text was updated successfully, but these errors were encountered: