pronto
pronto copied to clipboard
Clojure support for protocol buffers
when you have a proto of this type: ``` message AAA { } message BBB { } message Msg { AAA aaa = 1; map bbb = 2; } when...
Firstly, thank you for this library! Hopefully this will all make sense but essentially we're trying to use `which-one-of` and `one-of` with a snake-case field and we're getting `actual: java.lang.IllegalArgumentException:...
Consider the following proto definition: ``` enum JobStatus { JOBSTATUS_UNKNOWN = 0; JOBSTATUS_NEW = 1; } message Request { optional JobStatus status = 1; optional string str = 2; }...
Related to #22. I think it would be useful to allow encoders for top-level protobuf objects: ``` (defmapper mapper [ObjectReference] :encoders {ObjectReference {:from-proto (fn [^ObjectReference proto-obj] ...) :to-proto (fn [clj-map]...
Hi all! I've got an issue where I've got some proto that looks like this: ```proto message ObjectReference { string object_type = 1; string object_id = 2; } ``` I...
If I use java classes generated from this proto file: ```proto syntax = "proto3"; package example; // Message with a repeated field of one type message ResponseTypeOne { repeated MessageTypeOne...
In [this commit](https://github.com/AppsFlyer/pronto/commit/82756e4d3ea1c624b0ef8cefeb554afd585b79df) I disabled uploading unit test results, as this action was failing the build. You can see an example of such a failed build here: https://github.com/AppsFlyer/pronto/runs/5107634173?check_suite_focus=true The impact...
I'm trying to use the `xform` argument on the `proto-map->clj-map` function to handle proto-maps that have fields using `one-of`. However, the `xform` is being applied after the default mapper, so...