Skip to content

rename forbidUnknownValues to forbidObjectLiterals?Β #314

Open
@jakobrosenberg

Description

@jakobrosenberg

Taken from the readme:

It's highly advised to enable on forbidUnknownValues what prevent unknown objects to pass validation.

I can't make sense of that. I read the parameter forbidUnknownValues as fodbidUndefinedProperties, but I know that's not what it means. Meanwhile the description refers to this unknownValues as unknownObjects and I wonder what it all means.

Are unknown values in actuality object literals?

Metadata

Metadata

Assignees

No one assigned

    Labels

    flag: BREAKING CHANGEIssues containing a breaking change, requiring a major release.type: documentationIssues related to improving the documentation.type: fixIssues describing a broken feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions