sdk-go
sdk-go copied to clipboard
Provide examples how you think people should use Protobuf
At least to me the design decisions that this library took are not obvious. Also I have no idea how the library authors think people should use this library. Obvious to me would be:
ev := pb.CloudEvent{}
err := protobufv2.DecodeData(ctx, m.Value, &ev)
but as mentioned in other issues that does not work since pb
package is under internal
and not at the correct stage.
I agree.
I think we should make a full fledged proto transport. What do you think?
@AndreasBergmeier6176 can this be closed now that pb
got moved outside internal
?
Indeed. Additional Bonus points would be showing up in buf.build.