Skip to content

Adds isApplied feature for Binding #18540

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

tepi
Copy link
Contributor

@tepi tepi commented Jan 25, 2024

Allows developer to ignore selected bindings via providing a predicate for a binding that is tested before validating the binding, or writing the binding value to bean. Default implementation ignores bindings for which the bound field is not visible.

Copy link

github-actions bot commented Jan 25, 2024

Test Results

1 192 files  ±0  1 192 suites  ±0   1h 18m 56s ⏱️ + 2m 59s
8 322 tests +2  8 265 ✅ +2  57 💤 ±0  0 ❌ ±0 
8 696 runs  +5  8 630 ✅ +5  66 💤 ±0  0 ❌ ±0 

Results for commit 6e09688. ± Comparison against base commit 5ab4dc0.

♻️ This comment has been updated with latest results.

Copy link

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

42 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

}
};
return binding -> !(binding.getField() instanceof Component c)
|| c.isVisible();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: the previous version looked way more readable, this feels like brain training :D

mcollovati
mcollovati previously approved these changes Jan 26, 2024
@mshabarov mshabarov marked this pull request as draft January 29, 2024 12:51
@tepi tepi force-pushed the feat/add-isapplied-for-binding branch from 85dd5f4 to 87adb88 Compare April 17, 2025 14:47
@vaadin-bot vaadin-bot added +0.1.0 and removed +1.0.0 labels Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants