Skip to content
This repository has been archived by the owner on May 8, 2020. It is now read-only.

@ValidatePayload decorator #18

Open
lutzmor opened this issue Apr 19, 2017 · 0 comments
Open

@ValidatePayload decorator #18

lutzmor opened this issue Apr 19, 2017 · 0 comments

Comments

@lutzmor
Copy link
Contributor

lutzmor commented Apr 19, 2017

Signature: @ValidatePayload(m:ModelStatic, options?: ValidationOptions)

It would be useful for some routes to be able to just declare a @ValidatePayload(User) decorator without having to inject the UserStore to run validation manually.

Not important, but a nice to have

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant