Skip to content

feat: add field-level validation with detailed error messages#614

Merged
Haroldwonder merged 1 commit into
Haroldwonder:mainfrom
Zarmaijemimah:feat/field-level-validation
Jun 2, 2026
Merged

feat: add field-level validation with detailed error messages#614
Haroldwonder merged 1 commit into
Haroldwonder:mainfrom
Zarmaijemimah:feat/field-level-validation

Conversation

@Zarmaijemimah

@Zarmaijemimah Zarmaijemimah commented Jun 1, 2026

Copy link
Copy Markdown

Closes #525


feat: add field-level validation with detailed error messages

- Enhanced run_validate to provide specific field-level error messages
- Ported validation logic from validate_config_strict.py to Rust
- Added comprehensive schema validation for contract, attestors, and sessions
- Implemented URL validation with security checks (HTTPS required, no localhost)
- Added duplicate detection for attestor names and addresses
- Added warning system for non-blocking best practice recommendations
- Created test files and comprehensive documentation

Resolves issue: run_validate now indicates which field failed and why
@Zarmaijemimah

Copy link
Copy Markdown
Author

close #525

@drips-wave

drips-wave Bot commented Jun 1, 2026

Copy link
Copy Markdown

@Zarmaijemimah Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Haroldwonder Haroldwonder merged commit aff5d2a into Haroldwonder:main Jun 2, 2026
0 of 8 checks passed
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.

cli: validate command does not report which specific field failed validation in JSON configs

2 participants