NaingAungLuu / form-conductor

A declarative form validation for Jetpack Compose
https://formconductor.naingaungluu.me
MIT License
59 stars 5 forks source link

StateBased/Stateless Rules and Optional Flags #40

Closed NaingAungLuu closed 1 year ago

NaingAungLuu commented 1 year ago

Resolved Issues

Merged PRs

  1. 38

  2. 39

codecov[bot] commented 1 year ago

Codecov Report

Base: 33.92% // Head: 30.58% // Decreases project coverage by -3.34% :warning:

Coverage data is based on head (af0b4ac) compared to base (4624990). Patch coverage: 25.77% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #40 +/- ## ============================================ - Coverage 33.92% 30.58% -3.35% - Complexity 19 24 +5 ============================================ Files 20 27 +7 Lines 224 291 +67 Branches 44 49 +5 ============================================ + Hits 76 89 +13 - Misses 134 185 +51 - Partials 14 17 +3 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `30.58% <25.77%> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/NaingAungLuu/form-conductor/pull/40?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [.../java/me/naingaungluu/formconductor/FieldResult.kt](https://codecov.io/gh/NaingAungLuu/form-conductor/pull/40/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-Y29yZS9zcmMvbWFpbi9qYXZhL21lL25haW5nYXVuZ2x1dS9mb3JtY29uZHVjdG9yL0ZpZWxkUmVzdWx0Lmt0) | `16.66% <0.00%> (ø)` | | | [...n/java/me/naingaungluu/formconductor/FormResult.kt](https://codecov.io/gh/NaingAungLuu/form-conductor/pull/40/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-Y29yZS9zcmMvbWFpbi9qYXZhL21lL25haW5nYXVuZ2x1dS9mb3JtY29uZHVjdG9yL0Zvcm1SZXN1bHQua3Q=) | `14.28% <0.00%> (ø)` | | | [...e/naingaungluu/formconductor/builder/FormObject.kt](https://codecov.io/gh/NaingAungLuu/form-conductor/pull/40/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-Y29yZS9zcmMvbWFpbi9qYXZhL21lL25haW5nYXVuZ2x1dS9mb3JtY29uZHVjdG9yL2J1aWxkZXIvRm9ybU9iamVjdC5rdA==) | `0.00% <0.00%> (ø)` | | | [.../validation/optionalFlags/RuleBasedOptionalFlag.kt](https://codecov.io/gh/NaingAungLuu/form-conductor/pull/40/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-Y29yZS9zcmMvbWFpbi9qYXZhL21lL25haW5nYXVuZ2x1dS9mb3JtY29uZHVjdG9yL3ZhbGlkYXRpb24vb3B0aW9uYWxGbGFncy9SdWxlQmFzZWRPcHRpb25hbEZsYWcua3Q=) | `0.00% <0.00%> (ø)` | | | [...formconductor/validation/rules/EmailAddressRule.kt](https://codecov.io/gh/NaingAungLuu/form-conductor/pull/40/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-Y29yZS9zcmMvbWFpbi9qYXZhL21lL25haW5nYXVuZ2x1dS9mb3JtY29uZHVjdG9yL3ZhbGlkYXRpb24vcnVsZXMvRW1haWxBZGRyZXNzUnVsZS5rdA==) | `0.00% <ø> (ø)` | | | [...u/formconductor/validation/rules/FloatRangeRule.kt](https://codecov.io/gh/NaingAungLuu/form-conductor/pull/40/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-Y29yZS9zcmMvbWFpbi9qYXZhL21lL25haW5nYXVuZ2x1dS9mb3JtY29uZHVjdG9yL3ZhbGlkYXRpb24vcnVsZXMvRmxvYXRSYW5nZVJ1bGUua3Q=) | `0.00% <ø> (ø)` | | | [...formconductor/validation/rules/IntegerRangeRule.kt](https://codecov.io/gh/NaingAungLuu/form-conductor/pull/40/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-Y29yZS9zcmMvbWFpbi9qYXZhL21lL25haW5nYXVuZ2x1dS9mb3JtY29uZHVjdG9yL3ZhbGlkYXRpb24vcnVsZXMvSW50ZWdlclJhbmdlUnVsZS5rdA==) | `0.00% <ø> (ø)` | | | [...uu/formconductor/validation/rules/IsCheckedRule.kt](https://codecov.io/gh/NaingAungLuu/form-conductor/pull/40/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-Y29yZS9zcmMvbWFpbi9qYXZhL21lL25haW5nYXVuZ2x1dS9mb3JtY29uZHVjdG9yL3ZhbGlkYXRpb24vcnVsZXMvSXNDaGVja2VkUnVsZS5rdA==) | `0.00% <ø> (ø)` | | | [...uu/formconductor/validation/rules/MaxLengthRule.kt](https://codecov.io/gh/NaingAungLuu/form-conductor/pull/40/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-Y29yZS9zcmMvbWFpbi9qYXZhL21lL25haW5nYXVuZ2x1dS9mb3JtY29uZHVjdG9yL3ZhbGlkYXRpb24vcnVsZXMvTWF4TGVuZ3RoUnVsZS5rdA==) | `0.00% <ø> (ø)` | | | [...uu/formconductor/validation/rules/MinLengthRule.kt](https://codecov.io/gh/NaingAungLuu/form-conductor/pull/40/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-Y29yZS9zcmMvbWFpbi9qYXZhL21lL25haW5nYXVuZ2x1dS9mb3JtY29uZHVjdG9yL3ZhbGlkYXRpb24vcnVsZXMvTWluTGVuZ3RoUnVsZS5rdA==) | `0.00% <ø> (ø)` | | | ... and [12 more](https://codecov.io/gh/NaingAungLuu/form-conductor/pull/40/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.