Skip to content

Commit

Permalink
Initialize the visited set
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonC9018 committed Jan 15, 2024
1 parent 4678397 commit b069fee
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public void Validate(
List<string>? names = null;
CycleValidationContext cycleValidationContext = new()
{
Visited = new(),
CycleStartIndex = new(),
Errors = errors,
FieldPath = new(),
Expand Down

0 comments on commit b069fee

Please sign in to comment.