Skip to content

Conversation

cahva
Copy link
Contributor

@cahva cahva commented Jun 1, 2017

I was populating a database with some example users. Example users had field "password" and that is something you most definitely don't want to return when fetching resource. And that's why you would add .strip() to the password attribute validation. However when populating data to the database, you will want those stripped attributes also populated.

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.

1 participant