-
Notifications
You must be signed in to change notification settings - Fork 0
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
Validate that common data parameter values between URL dynamic route segments and POST data are equal #40
Comments
I'm pushing this to beta4 |
@jackfrancis can you write a short summary for the work represented in this issue? A few small examples would also be helpful. Punting to RC1 for now |
For example, this route+handler definition:
Essentially, it "throws away" the This ticket is to consider validating that the property values included in the HTTP POST body data match those in the route URL. I suppose the scope is still TBD, but it'll be one of these:
I prefer the 1st approach, as it's easier to implement and it enforces more sane input requirements, in my opinion (a JSON representation of a |
Requires #138 to be merged first. Bumping this from RC1 as it's not required for the release and can be pushed to production shortly thereafter. |
Post-Swaggergeddon we should validate that the above scenario is still correct. In any event, it's probably not high priority to sanity-enforce data items that are otherwise currently being thrown away. |
No description provided.
The text was updated successfully, but these errors were encountered: