Skip to content

feat: create a new ScalarLeafsRuleWithoutSuggestions validator rule#413

Open
XuankangLin wants to merge 1 commit intovektah:masterfrom
XuankangLin:scalar_leafs_without_suggestion
Open

feat: create a new ScalarLeafsRuleWithoutSuggestions validator rule#413
XuankangLin wants to merge 1 commit intovektah:masterfrom
XuankangLin:scalar_leafs_without_suggestion

Conversation

@XuankangLin
Copy link

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

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
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