Skip to content

Conversation

@adamsitnik
Copy link
Member

In #1959 I've introduce a bug that SDK has hit in dotnet/sdk#29131

Previously, the method was returning error for the first mismatch:

return new ParseError(
Resources
.UnrecognizedArgument(token.Value, argument.AllowedValues),
this);

After my changes it was the last one. This fix just helps me to unblock the SDK update, it does not solve the problem of producing multiple errors by a single validator.

@adamsitnik adamsitnik merged commit 92bd70e into dotnet:main Jan 20, 2023
@adamsitnik adamsitnik deleted the UnrecognizedArgumentErrorFix branch January 20, 2023 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants