eclipse-uprotocol / up-cpp

uProtocol Language Specific Library for C++
Apache License 2.0
15 stars 24 forks source link

Payload Builder supporting google.protobuf.Any #141

Open stevenhartley opened 3 months ago

stevenhartley commented 3 months ago

uEs pack into the payload various payload formats as defined in UPayloadFormat. One of the formats is UPAYLOAD_FORMAT_PROTOBUF_WRAPPED_IN_ANY that is different from the UPAYLOAD_FORMAT_PROTOBUF in that the google.protobuf.Any type includes the dataschema URL as well as the serialized payload. Payload needs to be able to support both protobuyf formats and differentiate the two of them. Please refer to up-java UPayload.java for examples (on PR 111 right now but will be merged soon.

debruce commented 3 weeks ago

I will work on this.

debruce commented 3 weeks ago

There is a PR for this here: https://github.com/eclipse-uprotocol/up-cpp/pull/287