use []byte or custom type for pubsub Message data #49
Labels
api: eventarc
Issues related to the googleapis/google-cloudevents-go API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Expected Behavior
Actual Behavior
Details
The choice to use a string was also made in our HTTP/REST libraries. We did not respect the ”format”: “byte”. We have an open issue around how it would have been nice to generate these types as []byte.
Option 2 might be nice do you could provide a custom mashaller for the type that auto encodes/decodes base64 values so the user of this library does not have to.
The text was updated successfully, but these errors were encountered: