These are chat archives for HylianShield/validator

24th
Oct 2015
Jan-Marten de Boer
@johmanx10
Oct 24 2015 11:36
Hey Guys. I found this to be a perfect way to centralize public communication about the HylianShield organisation and over here the validator repo, specifically
So, @a-schuurman might be happy to know I'm currently writing tests against local modifications I made to the Network validator, in an effort to reduce cyclomatic and NPath complexity. To do this, I have introduced a ProtocolDefinitionInterface which tells the Network validator how to set up rules and parsers to validate incoming URLs. To properly test this, I have introduced a CustomProtocol validator in the Network namespace. This means you can determine schemes, ports, query parameters and restrictions on-the-fly if the default validators don't seem to meet your criteria
It is also a really small addition away from supporting schemeles URLs
Jan-Marten de Boer
@johmanx10
Oct 24 2015 17:41
Crap, the complexity of the network validator is still too high