Rework data binding to use generic types #5378
Labels
Data binding
Issue related to bug or improvement of data binding
refactor
Issues related to refactoring code.
Checklist
Is your feature request related to a problem?
With #5377 landed, there is only the code generation for data binding left. As there is quite a lot of code duplication between the binding types, this would be a wise place to apply generics and decrease our reliance on code generation. This should improve developer ergonomics and make the code easier to understand.
Is it possible to construct a solution with the existing API?
I think so. It might be possible to rewrite some internal types to use generics without impacting the public API but I think a nice change for v3.0.0 further down the line would be to have a public generic API for bindings (far into the future but anyway).
Describe the solution you'd like to see.
Clean up data binding using generics to try and remove code generation as much as possible.
The text was updated successfully, but these errors were encountered: