-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auto-generated api docs, typed request objects, and request validation #73
Labels
Comments
zRosenthal
changed the title
Feature Request/Proposal (three for one)
auto-generated api docs, typed request objects, and request validation
Aug 2, 2018
zRosenthal
added a commit
to zRosenthal/mindless-1
that referenced
this issue
Apr 28, 2019
add functinality to support future features outlined in issue SpartanLabs#73 re SpartanLabs#86
zRosenthal
added a commit
that referenced
this issue
Jul 29, 2019
* feat(Request and App handler): Add ability for custom request deserialization and improve request ob BREAKING CHANGE: Request class has changed * test(Request and App): finsih updating request and app classes add functinality to support future features outlined in issue #73 re #86 * refactor(request objects): change params, query string, and headers to be es6 maps BREAKING CHANGE: must now pass headers and query string through as es6 maps * build(typescript version bump): updated to latest stable typescript version 3.5.x * docs(rejadme):
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
request.getBodyParam('could force this to be keyof BodyObject')
validate
method in the abstract controller that accepts an object and a Class/Schema to validate against.validate
method by using decorators. We need a decorator to tell us what Class/Schema to validate against.I think these three things go hand and hand. A couple things to think about:
The text was updated successfully, but these errors were encountered: