Stream: hapi
Topic: Validator Interface
Grahame Grieve (Jan 31 2020 at 23:58):
I'm looking to add a little more control to what kinds of validation the validation does, for people hosting it in HAPI and interested in performance.
That's making something that's bothering me more acutely painful - I don't like the way the existing options work for the validator - a series of get/set on the IResourceValidator interface....
I'm interested in opinions about whether it's worth refactoring, and if so, how?
@James Agnew @Mark Iantorno
Jens Villadsen (Feb 02 2020 at 23:36):
As long as the configurable parts are changeable through interface classes, and someone provides sane defaults both for the core validator itself, but also the bridging classes in HAPI
Last updated: Apr 12 2022 at 19:14 UTC