Open JoshLove-msft opened 11 months ago
Assumption: The serialization format can be controlled and customized such that they go to/from Amqp bytes. If this is limited to JSON/XML support, it is not helpful.
I believe this is now IPersistableModel - https://learn.microsoft.com/en-us/dotnet/api/system.clientmodel.primitives.ipersistablemodel-1?view=azure-dotnet-preview
Looks like we would need to add a new property for Amqp
format similar to https://learn.microsoft.com/en-us/dotnet/api/system.clientmodel.primitives.modelreaderwriteroptions.xml?view=azure-dotnet-preview#system-clientmodel-primitives-modelreaderwriteroptions-xml
Once this interface ships in Core, we can apply it to these AMQP types. Also potentially can be applied to AmqpAnnotatedMessage.