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

ensure validation errors include names for better context #253

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

mikemrm
Copy link
Contributor

@mikemrm mikemrm commented May 7, 2024

Errors previously only included their index to the particular portion which resulted in the error.

actionBindings: 92: conditions: 1: owner: unknown relation

This pr updates it to also include some details about the particular entry that resulted in the error to make it easier to locate the actual issue.

actionBindings: 318 (account:user): conditions: 1: owner: unknown relation

@mikemrm mikemrm marked this pull request as ready for review August 7, 2024 16:33
@mikemrm mikemrm requested review from a team as code owners August 7, 2024 16:33
@mikemrm mikemrm merged commit 80e37d9 into infratographer:main Aug 7, 2024
4 checks passed
@mikemrm mikemrm deleted the more-useful-scheme-errors branch August 7, 2024 16:53
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