Skip to content

Enums filtering support #34

@duhapunk

Description

@duhapunk

Hello again! I noticed that your lib doesn't support enums. I fixed it like this:

if (property.PropertyType.IsEnum)
{
     Enum.TryParse(property.PropertyType, value.ToString(), true, out var result);
     return result; // additional checks required
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions