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

add unknown optional keywords to parse and use_args #506

Closed
wants to merge 2 commits into from
Closed

add unknown optional keywords to parse and use_args #506

wants to merge 2 commits into from

Conversation

zenglanmu
Copy link

Allow user to set the unknown field is important in some cases. For example, the query also have an additional per_page args which handled by other library. Current webargs with version 6.0 behavior ould raise an validation error, which causes broken changes since verision 5. Maybe it is better to set unknown=EXCLUDE as default behavior or at least gives the user the ability to set it.

@sirosen
Copy link
Collaborator

sirosen commented Sep 11, 2020

As mentioned in #514, I think we prefer an approach in which dict schemas and regular schemas are treated the same.
This is going to be solved in v7.0 in a way that also handles setting defaults per location (see #544 for detail).

In light of that, and given that I'm trying to get 7.0 ready in the next few weeks or months, I'm going to close this.

@sirosen sirosen closed this Sep 11, 2020
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

Successfully merging this pull request may close these issues.

2 participants