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

Support Protocol Buffers serialisation. #62

Open
aabluedragon opened this issue Aug 24, 2015 · 4 comments
Open

Support Protocol Buffers serialisation. #62

aabluedragon opened this issue Aug 24, 2015 · 4 comments

Comments

@aabluedragon
Copy link

It would be useful if we could have Protobuf support in dart-rpc, or even any serialisation methods other than JSON, maybe specify which one to use (like a content-type) using the Accept request header.

Even though JSON is most broadly used, for many situations, others are required as well.

See related StackOverflow question

@wibling
Copy link
Contributor

wibling commented Sep 17, 2015

Supporting protobuf and in general having a way to plugin serialization is something we have discussed. It would be very nice to have, but it is not planned for the near term.

@binary132
Copy link

Has this been revisited? I'd like to consider using Dart for client-side work, but my clients must support protobuf grpc gen.

@Kleak
Copy link
Contributor

Kleak commented Mar 26, 2018

You can already use generated grpc models with dart client with whatever server language.
You can use the fromJson ctor of the generated model.
Look at the grpc-dart repos and more precisely to this like on your model.

I think this issue cover your need

@binary132
Copy link

I see. Thanks for clarifying!

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

No branches or pull requests

4 participants