-
Notifications
You must be signed in to change notification settings - Fork 115
Open
@kaikash
Description
I would be great to have the ability to remove not permitted attributes. For example:
const params = { age: 25, foo: "bar" } const rules = { age: { type: "int", max: 200 } } const errors = parameter.validate(rules, params)
make params to be equal to {age: 25}, not to {age: 25, foo: "bar"}.
Metadata
Metadata
Assignees
Labels
No labels