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

Feature Request: disallow undeclared params #1603

Closed
jlfaber opened this issue Mar 27, 2017 · 1 comment
Closed

Feature Request: disallow undeclared params #1603

jlfaber opened this issue Mar 27, 2017 · 1 comment

Comments

@jlfaber
Copy link
Contributor

jlfaber commented Mar 27, 2017

I know I can use declared to filter out undeclared params, but there are some times when I'd prefer to fail explicitly. One example might be to help an API user who misspells the name of an optional parameter. As currently implemented validation will succeed, but I'd much rather have it fail to clue in the user that something is amiss.

@dblock
Copy link
Member

dblock commented Mar 28, 2017

This is a duplicate of #810. Would love a PR for this, it has been a long outstanding request.

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

2 participants