Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataContract to IMessage #307

Open
lusida opened this issue Sep 8, 2023 · 1 comment
Open

DataContract to IMessage #307

lusida opened this issue Sep 8, 2023 · 1 comment

Comments

@lusida
Copy link

lusida commented Sep 8, 2023

I have defined a [DataContract] data structure, how to parse it into an IMessage interface? Is there a ready-made method in the protobuf-net.Grpc library?

@mgravell
Copy link
Member

mgravell commented Sep 8, 2023

IMessage is a Google.Protobuf thing. If you're starting from [DataContract] you probably don't need that at all. What is it that you're actually trying to do here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants