-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hello,
Is paperwork clone all objects or just when there is too much fields ?
For example if I have this schema
var schema = { age: Number };
And this data
var data = { age: 20, firstname: 'Jean' }
The output will be :
{age: 20}
So, if I well understand, you have created a new "cleaned" object during validation.
But what happened if in data there is no extra fields ? Is object also cleaned ? What is the performance cost ?
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels