square / wire

gRPC and protocol buffers for Android, Kotlin, Swift and Java.
https://square.github.io/wire/
Apache License 2.0
4.22k stars 571 forks source link

Don't crash with inlined map options #2997

Closed oldergod closed 3 weeks ago

oldergod commented 4 weeks ago

The options class is very hard to understand unfortunately. Even though pruning isn't fully supported, right now, one could not even build without Wire crashing on it. I made it so we don't crash and handle rooting.

fixes #2414