handlebars-rust icon indicating copy to clipboard operation
handlebars-rust copied to clipboard

Valuable adoption

Open sunng87 opened this issue 4 years ago • 0 comments

Fixes #440

Changes to be included:

  • [x] Update Context API to hold a borrowed reference of any T: Valuable, currently it owns a converted serde_json::Value
  • [x] Update Registry render apis to accept T: Valuable instead of serde::Serialize
  • [ ] Update internal type system from serde_json::Value to valuable::Value or a hybrid solution. valuable::Value can not hold owned data makes it difficult to cover the derived value during rendering
  • [ ] Context navigation API needs to be updated to use Valuable access APIs.
  • [ ] update modules related to rhai for exchange between Valuable and Dynamic

sunng87 avatar Jul 03 '21 14:07 sunng87