Skip to content

feat: create a new ScalarLeafsRuleWithoutSuggestions validator rule#413

Merged
StevenACoffman merged 1 commit intovektah:masterfrom
XuankangLin:scalar_leafs_without_suggestion
Mar 31, 2026
Merged

feat: create a new ScalarLeafsRuleWithoutSuggestions validator rule#413
StevenACoffman merged 1 commit intovektah:masterfrom
XuankangLin:scalar_leafs_without_suggestion

Conversation

@XuankangLin
Copy link
Copy Markdown
Contributor

ScalarLeafsRule also appends "Did you mean" schema suggestions like e.g., KnownTypeNamesRule, but wasn't treated previously like other validator rules, possibly because it was calling Suggestf() which adds the "Did you mean" string indirectly.

I have:

@coveralls
Copy link
Copy Markdown

coveralls commented Feb 8, 2026

Coverage Status

coverage: 87.077% (-0.1%) from 87.18%
when pulling 21fd3b8 on XuankangLin:scalar_leafs_without_suggestion
into 48a3d5e on vektah:master.

ScalarLeafsRule also appends "Did you mean" schema suggestions like
e.g., KnownTypeNamesRule, but wasn't treated previously like other
validator rules, possibly because it was calling `Suggestf()` which adds
the "Did you mean" string.
@XuankangLin XuankangLin force-pushed the scalar_leafs_without_suggestion branch from 44993c6 to 21fd3b8 Compare February 9, 2026 19:26
@StevenACoffman StevenACoffman merged commit 61efb18 into vektah:master Mar 31, 2026
2 checks passed
@StevenACoffman
Copy link
Copy Markdown
Collaborator

Thank you for this! Sorry for my delay in getting to this. I've been dealing with a family illness and am trying to get back on top of things. I really appreciate this contribution, and looking forward to your next!

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.

3 participants