Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved ergonomics for dynamic message #17

Open
andrewhickman opened this issue Jul 9, 2022 · 0 comments
Open

Improved ergonomics for dynamic message #17

andrewhickman opened this issue Jul 9, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@andrewhickman
Copy link
Owner

andrewhickman commented Jul 9, 2022

  • Implement PartialEq on Value with primitive types to allow things like message.get_field_by_name("foo") == 5
  • Implement Index and IndexMut with string and numeric keys to allow message["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]")
@andrewhickman andrewhickman added the enhancement New feature or request label Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant