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

Update limitProperties.ts #1918

Merged
merged 3 commits into from Mar 22, 2022
Merged

Conversation

TIBCOeddie
Copy link
Contributor

in absence of condition pluralization of message, at least have item(s)

What issue does this pull request resolve?

What changes did you make?

Is there anything that requires more attention while reviewing?

in absence of condition pluralization of message, at least have item(s)
@epoberezkin epoberezkin merged commit a5119ef into ajv-validator:master Mar 22, 2022
@TIBCOeddie
Copy link
Contributor Author

You lost the purpose of the initial request... to be ready for "0 properties" "1 property" "2+ properties". I mean, I'd suggest you use a library or util that can conditionalize correctly, even a simple ${schemaCode} == 1 ? "property" : "properties" would do...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants