Skip to content
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

Get Query parameter validation #2

Closed
3 of 4 tasks
ty10r opened this issue Nov 26, 2014 · 2 comments
Closed
3 of 4 tasks

Get Query parameter validation #2

ty10r opened this issue Nov 26, 2014 · 2 comments

Comments

@ty10r
Copy link
Owner

ty10r commented Nov 26, 2014

Get endpoints should all have validation on their query parameters.

  • create query parameter validation functions
  • create mapping between parameter types and their validation functions
  • in ApiProxy.prototype.makeRoute call each validation function on parameters, using the mapping

Title only says Get Query Params, but I will leave this here because it will use the same code:

  • in ApiProxy.prototype.makeRoute call each validation function on POST parameters
@ty10r
Copy link
Owner Author

ty10r commented Nov 26, 2014

Look into the raml-parser output, this may require me to create validators based on the base types, but something tells me the parser separated data types for me :)

@ty10r
Copy link
Owner Author

ty10r commented Dec 3, 2014

Closing the issue for now, POST parameter validation is out of the scope of this project for now because of issue #3

@ty10r ty10r closed this as completed Dec 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant