cretz / pb-and-k

Kotlin Code Generator and Runtime for Protocol Buffers
MIT License
139 stars 15 forks source link

fix map marshaling #10

Closed leveretka closed 5 years ago

leveretka commented 5 years ago

We faced a problem with map serialization. Current code serializes map as a packed repeated value which is different from what we see in serialization from scala/java generated sources.

Please take a look into it, cause we are planning to use it in the nearest future.

Thanks.

cretz commented 5 years ago

Thanks! I will investigate.

cretz commented 5 years ago

Thanks for the report, I made the fix in a bit of a different way and renamed some things. It is fixed in master and the runtime is deployed to https://oss.sonatype.org/content/repositories/snapshots as version 0.3.0-SNAPSHOT. I'll leave this open until I release 0.3.0.

leveretka commented 5 years ago

Cool! Thanks :)

cretz commented 5 years ago

0.3.0 released