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
We would have to add from https://github.com/protocolbuffers/protobuf/blob/main/csharp/src/Google.Protobuf/WellKnownTypes/AnyPartial.cs the needed operations to module Any and type Any, like pack, unpack, tryUnpack, is and a way to access descriptor from all the messages, like Dog.descriptor, taken from module DogReflection.
I would like to work on this as a PR, if you are open for it
How do I create a
Google.Protobuf.FSharp.WellKnownTypes.Any
instance from another message?In C# we use method
static Google.Protobuf.WellKnownTypes.Any.Pack(IMessage)
andGoogle.Protobuf.WellKnownTypes.Any.[Try]Unpack<T>(...)
Also, how to know the message type from the
Any.TypeUrl
?Thanks for this libraries! I finally found some FSharp libraries to work with Protobuf/Grpc 🥳
The text was updated successfully, but these errors were encountered: