Skip to content

Validate Root IEnumerable #23

@phil000

Description

@phil000

Hello,

The TryValidateObjectRecursive method doesn't work if the root object itself is IEnumerable.

e.g.
List<ThingToValidate> stuff

TryValidateObjectRecursive(stuff) does zero validation. You need a property of the root object that is enumerable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions