Skip to content
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

Adds isApplied feature for Binding #18540

Draft
wants to merge 2 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 092 files  ± 0  1 092 suites  ±0   1h 19m 19s ⏱️ -51s
6 810 tests + 2  6 764 ✅ + 2  46 💤 ±0  0 ❌ ±0 
7 116 runs   - 37  7 058 ✅  - 37  58 💤 ±0  0 ❌ ±0 

Results for commit 85dd5f4. ± Comparison against base commit 19f1337.

♻️ This comment has been updated with latest results.

Copy link

sonarcloud bot commented Jan 25, 2024

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

@mshabarov mshabarov marked this pull request as draft January 29, 2024 12:51
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