This integrates with the core pickle API with the same pattern as the router.
It allows asynchronous validation.
It composes more nicely than the pattern in the samples. They both however build on the the excellent class-validator library.
I'll aim to get this added in July. Note that the gist will already work with the existing API, and no changes to the core pickle API are required to integrate.
Gist: https://gist.github.com/pickle-ts/f75dec2e8d8c8b6fd0c01feacd76cf10
This integrates with the core pickle API with the same pattern as the router.
It allows asynchronous validation.
It composes more nicely than the pattern in the samples. They both however build on the the excellent class-validator library.
I'll aim to get this added in July. Note that the gist will already work with the existing API, and no changes to the core pickle API are required to integrate.