[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you written unit tests?
[x] Have you written unit tests that cover the negative cases (i.e.: if bad data is submitted, does the library respond properly)?
[x] This PR is associated with an existing issue?
Closing issues
Closes #1495
Put closes #XXXX (where XXXX is the issue number) in your comment to auto-close the issue that your PR fixes.
If this is a new feature submission:
[x] Has the issue had a maintainer respond to the issue and clarify that the feature is something that aligns with the goals and philosophy of the project?
Potential Problems With The Approach
This decorator requires preprocess some data inject.
Otherwise the validation would not pass.
Test plan
Tested in express, koa and hapi using decorator to access body/payload variable.
All Submissions:
Closing issues Closes #1495 Put
closes #XXXX
(where XXXX is the issue number) in your comment to auto-close the issue that your PR fixes.If this is a new feature submission:
Potential Problems With The Approach
This decorator requires preprocess some data inject.
Otherwise the validation would not pass.
Test plan Tested in express, koa and hapi using decorator to access body/payload variable.