Skip to content

Null support#21

Open
minn-mann wants to merge 2 commits intodiegohaz:masterfrom
minn-mann:null_support
Open

Null support#21
minn-mann wants to merge 2 commits intodiegohaz:masterfrom
minn-mann:null_support

Conversation

@minn-mann
Copy link

Normally on validation null fields are treated like undefined values and the field is not edited. With this change the fields are now passed as null to the following middleware in order to manage the deletion of said fields.

…orwarded to the next middleware in order to support the deletion of elements in mongoose
…orwarded to the next middleware in order to support the deletion of elements in mongoose
@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.174% when pulling 92391ee on misleadingTitle:null_support into ad8881d on diegohaz:master.

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