Skip to content

Commit

Permalink
Update TODO.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyObtiva authored Feb 13, 2024
1 parent 4b6a772 commit d283b13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Related TODO files:

### Version TBD

- Support observing multiple model attributes at the same time for the same model or different models, providing syntax for it in `ModelBinding`, `observe` keyword, data-binding, and `content` data-binding (e.g. `content(paginator, :page_count, :page_number)`, considering aliases `content(paginator, [:page_count, :page_number])` and `content(paginator => [:page_count, :page_number])` , or `content(user, :addresses, friend, :addresses)` , considering alias `content(user => :addresses, friend => :addresses)` if it was beneficial at all )
- Improve API for `add_observer` methods on observables (make it accept a block, and perhaps reverse arg order)
- Allow being able to include Glimmer for a particular DSL (e.g. `include Glimmer[:data_binding]` to add `observe` keyword only) without having to enable/disable DSLs (create scoped realms of DSL activation)
- refactor observer registration code to be more smart/polymorphic/automated and honor open/closed principle (e.g. for SomeClass, search if there is ObservableSomeClass for the various hash, array, and model observables)
Expand Down

0 comments on commit d283b13

Please sign in to comment.