Skip to content

ValidationRuleSet.Rules should be IEnumerable not IList #1139

@baywet

Description

@baywet

Not only this performs unnecessary allocs, it leads people to think they can do operations like clearing the list, which won't impact the source. This fix would represent a breaking change and needs to be addressed at part of the work for v2.

public IList<ValidationRule> Rules

Metadata

Metadata

Assignees

Labels

type:bugA broken experience

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions