Skip to content

Validate Root IEnumerable #23

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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