Conversation
Drop support for Java 7
… in DefaultArrayFormatter
Support nested arrays and circular references in DefaultArrayFormatter
* added initial support for multiple locales * attempting to fix broken build
|
I will also want to make sure that I add a changelog to the project and also update the copyright year for all files to 2017. |
* renamed interfacing method in ClassVerifier to interfaced * corrected error message for interfaced method on ClassVerifier
|
I want to experiment with benchmarking/profiling the new |
|
I might also add the ability to further chain verifications on to the back of each other by adding Here's what it could look like, based on the example in the README: package com.example.form;
import io.skelp.verifier.Verifier;
public class LoginForm implements Form {
UserService userService;
@Override
public void handle(Map<String, String> data) {
Verifier.verify(data)
.containAllKeys("username", "password");
.and(data.get("username"), "username")
.not().blank();
.and(data.get("password"), "password")
.not().empty()
.alphanumeric();
userService.login(data);
}
}The only thing is that this would obviously only be able to chain built-in verifiers and match the API of our |
…ify & verifyComparable methods on Verifier while using a partial copy of the current Verification (#22)
Codecov Report
@@ Coverage Diff @@
## master #8 +/- ##
=======================================
Coverage ? 100%
Complexity ? 1013
=======================================
Files ? 54
Lines ? 1629
Branches ? 222
=======================================
Hits ? 1629
Misses ? 0
Partials ? 0
Continue to review full report at Codecov.
|
Here's a summary of the changes for 0.2.0:
DefaultArrayFormatterSupport nested arrays and circular references in DefaultArrayFormatter #10ClassVerifier#assignableFromAll&ClassVerifier#assignableFromAnyAdd ClassVerifier#assignableFromAll & ClassVerifier#assignableFromAny #15ClassVerifier#interfacingtoClassVerifier#interfacedRename ClassVerifier#interfacing to ClassVerifier#interfaced #16 (breaking change)LocaleVerifier#defaultingtoLocaleVerifier#defaultedRename LocaleVerifier#defaulting to LocaleVerifier#defaulted #17 (breaking change)StringVerifier#matchAll&StringVerifier#matchAnyAdd StringVerifier#matchAll & StringVerifier#matchAny #18ThrowableVerifier#causedByAll&ThrowableVerifier#causedByAnyAdd ThrowableVerifier#causedByAll & ThrowableVerifier#causedByAny #19