Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: compare validation now expects singular noun #205

Closed
wants to merge 1 commit into from

Conversation

jhatler
Copy link

@jhatler jhatler commented Dec 24, 2023

On pydantic-code >= 2.12, the validation error messages use the singular of the word "character" when the number 1 is specified in a condition. This breaks the engine.compare validation, which expected the plural.

Refs: #204
Signed-off-by: Jaremy Hatler [email protected]

On pydantic-code >= 2.12, the validation error messages use the singular
of the word "character" when the number 1 is specified in a condition.
This breaks the engine.compare validation, which expected the plural.

Refs: jaraco#204
Signed-off-by: Jaremy Hatler <[email protected]>
@jhatler
Copy link
Author

jhatler commented Dec 24, 2023

I tested this as part of jhatler#1 by running the tests in the main.yml workflow on my fork.

@jaraco
Copy link
Owner

jaraco commented Mar 31, 2024

Thanks for this. I stumbled onto the same issue and addressed it in 5ef0bab before I got to this PR.

@jaraco jaraco closed this Mar 31, 2024
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