Bind to another binder
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 717
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 3
Description
Sometimes on Vaadin 8.0.5, I need to bind a binder to another binder.
For instance:
Binder<MyObject> binder = new Binder<>();
Binder<SubObject> subBinder = new Binder<>();
[...]
binder.bind(subBinder, MyObject::getSubObject, MyObject::setSubObject);
Thanks,
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the Binder API and its existing bind methods to determine how a Binder could participate as a nested field binding. Define the expected behavior for the shown MyObject and SubObject example, then verify the behavior with focused Binder tests before considering the issue complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100