protobuf icon indicating copy to clipboard operation
protobuf copied to clipboard

A pure Elixir implementation of Google Protobuf.

Results 31 protobuf issues
Sort by recently updated
recently updated
newest added

Considering that options are [map](https://github.com/elixir-protobuf/protobuf/blob/6c580a2a515c6a1f7a6ec96ecaeed6e0d215dc61/lib/protobuf/protoc/generator/message.ex#L91-L96) and in OTP 26 the order keys of map [is not granted](https://www.erlang.org/blog/otp-26-highlights/#changed-ordering-of-atom-keys), should change it to keyword list? alternatively [Util.options_to_str](https://github.com/elixir-protobuf/protobuf/blob/main/lib/protobuf/protoc/generator/util.ex#L47) and friends can run sort...

Kind:Bug

Hi there, We're seeing (what feels like) inconsistent behaviour when encoding oneof values. Given the following protobuf: ``` protobuf syntax = "proto3"; message Foo { message Bar { string value...

Kind:Bug

Most JSON encoders just wrap 1.0 to 1, while protobuf gives good enough code generation, can we cast 1 -> 1.0 for floats and doubles? The alternate solution is to...

Kind:Needs More Info

Replaces https://github.com/elixir-protobuf/google-protos/pull/21. Should be merged after https://github.com/elixir-protobuf/protobuf/pull/353.

This includes the well known Google protobuf modules to deprecate the `google_protos` package. From this comment: https://github.com/elixir-protobuf/google-protos/pull/21#issuecomment-1595737724.

Referring to: https://github.com/elixir-protobuf/protobuf/pull/329 Just wondering why the pack and unpack on the any protos was removed. https://github.com/elixir-protobuf/protobuf/pull/329 This change makes it very difficult to work with the any protos. There’s...

Kind:Improvement

It fixes the same issue but now for the JSON encoder like https://github.com/elixir-protobuf/protobuf/pull/302 Currently with proto3 optional values, a zero/default value is skipped. This means that the JSON `decode(encode(msg))` is...

I am currently trying to use Protobuf in one of my elixir projects but I keep getting this error: ```ex ** (Protobuf.DecodeError) invalid field number 0 when decoding binary data...

Kind:Needs More Info

Hey everyone! First of all, thank you for this great lib! ❤️ I just came across this issue that literally asks me to contact the lib author, so here I...

Kind:Bug

Adds CI and fixes tests that fail on OTP27. Fixes dependency (ssl_verify_fun) that would cause CI to fail on Elixir 1.15+. Fixes warning that would cause CI to fail on...