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

use_args does not throw an error with extra field. #362

Closed
lezoudali opened this issue Jan 23, 2019 · 2 comments
Closed

use_args does not throw an error with extra field. #362

lezoudali opened this issue Jan 23, 2019 · 2 comments

Comments

@lezoudali
Copy link

I'm using marshmallow==3.0.0rc3 and webargs==5.1.0

CreateUserSchema(Schema):
    email = fields.Email(required=True)
    password = password_field()

@use_args(CreateUserSchema())
def create(args):
    ....

Using httpie

http POST <create-view-endpoint> email=john_doe@example.com password=test123 extra=value

does not throw an error for the extra field.

@lafrech
Copy link
Member

lafrech commented Jan 23, 2019

I think this is a duplicate of #267.

@lezoudali
Copy link
Author

yes it is.

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