Skip to content

How to achieve Any.Pack/Unpack from FSharp? #26

Description

@iskandersierra

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) and Google.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 🥳

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions