Skip to content

Improve prop-validation diagnostics - #85

Merged
koculu merged 1 commit into
mainfrom
enrich-prop-validation-diagnostics
Apr 6, 2026
Merged

koculu merged 1 commit into
mainfrom
enrich-prop-validation-diagnostics

Conversation

@koculu

@koculu koculu commented Apr 6, 2026

Copy link
Copy Markdown
Member

Summary

Improves prop-validation diagnostics and custom-validator ergonomics.

This adds richer built-in validation messages with received value previews, including Regor ref-aware formatting, and exposes pval.describe(...) so custom validators can produce errors in the same style as the built-ins. It also updates the docs and JSDoc to reflect the final custom-validator API.

@koculu
koculu merged commit 7c21b32 into main Apr 6, 2026
1 check passed
@koculu
koculu deleted the enrich-prop-validation-diagnostics branch April 6, 2026 00:11
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.

1 participant