jwaliszko / ExpressiveAnnotations

Annotation-based conditional validation library.
MIT License
351 stars 123 forks source link

Add function to know if a field is required #175

Open PhiPhi42 opened 6 years ago

PhiPhi42 commented 6 years ago

Can be usefull when you want to put a star (*) on required fields

codecov-io commented 6 years ago

Codecov Report

Merging #175 into master will decrease coverage by 0.26%. The diff coverage is 25%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #175      +/-   ##
==========================================
- Coverage   94.21%   93.94%   -0.27%     
==========================================
  Files          24       24              
  Lines        2090     2096       +6     
  Branches      232      234       +2     
==========================================
  Hits         1969     1969              
- Misses        107      113       +6     
  Partials       14       14
Impacted Files Coverage Δ
...ssiveAnnotations/Attributes/RequiredIfAttribute.cs 61.29% <25%> (-14.71%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4f04d08...f07ab51. Read the comment docs.