Skip to content

The main function should handle not-object params #3

@davidpaulhunt

Description

@davidpaulhunt

Should support something like whitelister('integer', 100)

The most obvious use case (and something I expected when writing tests) is with arrays; this should probably work:

{ type: 'array', attributes: 'integer' }

and since a rule can be a string, it makes sense to plan for whitelister(obj || string, any).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions