prost-reflect
prost-reflect copied to clipboard
Improved ergonomics for dynamic message
- Implement
PartialEq
onValue
with primitive types to allow things likemessage.get_field_by_name("foo") == 5
- Implement
Index
andIndexMut
with string and numeric keys to allowmessage["foo"] = Value::I32(5)
- Some way to get a value from multiple levels deep into the message? e.g.
message.get_nested("foo.bar[0]")