Closed paw3lx closed 6 years ago
Merging #131 into develop will not change coverage. The diff coverage is
100%
.
@@ Coverage Diff @@
## develop #131 +/- ##
======================================
Coverage 100% 100%
======================================
Files 38 38
Lines 784 815 +31
======================================
+ Hits 784 815 +31
Impacted Files | Coverage Δ | |
---|---|---|
src/Valit/ValitRuleUInt64Extensions.cs | 100% <ø> (ø) |
:arrow_up: |
src/Valit/ValitStrategies.cs | 100% <ø> (ø) |
:arrow_up: |
src/Valit/ValitException.cs | 100% <ø> (ø) |
:arrow_up: |
src/Valit/ValitRuleUInt32Extensions.cs | 100% <ø> (ø) |
:arrow_up: |
src/Valit/ValitRuleInt32Extensions.cs | 100% <ø> (ø) |
:arrow_up: |
src/Valit/CompleteValitStrategy.cs | 100% <ø> (ø) |
:arrow_up: |
src/Valit/MessageProvider/EmptyMessageProvider.cs | 100% <ø> (ø) |
:arrow_up: |
src/Valit/Exceptions/ValitExceptionExtensions.cs | 100% <ø> (ø) |
:arrow_up: |
src/Valit/ValitRuleDoubleExtensions.cs | 100% <ø> (ø) |
:arrow_up: |
src/Valit/ValitStrategiesExtensions.cs | 100% <ø> (ø) |
:arrow_up: |
... and 31 more |
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 eb68fc0...1eb3bfb. Read the comment docs.
I like this way of creating the rules. Now we need to decide what to do with that.
@arekbal @dbarwikowski @tdeschryver what are your thoughts?
We should not hurry with the decision, tommorow I'd like to release version 0.2.0 so this task will be scheduled for the 0.3.0 release (so before christmass).
Info
This Pull Request is related to issue no. #114
Guys, I added few lines of code to provide possibility to compare two properties. It's just a draft, so please take a look. I was not sure about it so I just added one Ensure method and one test to test if it's working. I think that now we have two possibilities:
Ensure
methods. They can look like in this PREnsure
methods to have only one way of creatingValitRules
. This could be big change I guess. As @GooRiOn said, it could piss off all folks that use Valit.What do you think?
Changes
Ensure
method to provide functionality of comparing two properties