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
after some research it seems to related to github.com/gogo/protobuf. a known issue in this library that isn't expected to be solved anytime soon.
It is advised to use another proto library such as google.golang.org/protobuf/proto instead. Any chances that watermill will adopt google.golang.org/protobuf/proto?
shi-rudo
changed the title
CRQS-protobuf example (5-cqrs-protobuf) will break when using latest protoc-gen-go and protoc
proto marshalling is failing with using latest protoc-gen-go and protoc
Apr 22, 2022
Hey. You can use your own CQRS marshaler if you implement the correct interface. You could just copy the one provided with Watermill and switch the library to golang/protobuf.
In the future, we want to address this in #281. :)
I wanted to try out the example of "5-cqrs-protobuf". On recreating the events.pb.go the example watermill fails with:
repo for reproducing can be found under: https://github.com/shi-rudo/5-cqrs-protobuf-latest
// versions:
// protoc-gen-go v1.28.0
// protoc v3.19.4
https://github.com/shi-rudo/5-cqrs-protobuf-latest/blob/master/events/events.pb.go
The text was updated successfully, but these errors were encountered: