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

Improve type mismatch validation errors. #86

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

koculu
Copy link
Owner

@koculu koculu commented Aug 30, 2024

Key Changes:

  • Detailed Exception Messages: The exception messages now provide additional context, indicating that the mismatch might be due to a class rename or code refactoring. This helps developers understand that the validation is a safeguard against unexpected changes, but it can be bypassed if the change was intentional.

  • Guidance for Resolution: The exception messages suggest that, in cases of intentional changes (such as after a refactor), the developer can manually edit the metadata JSON file to resolve the issue.

@koculu koculu linked an issue Aug 30, 2024 that may be closed by this pull request
@koculu koculu merged commit 5407da7 into main Aug 30, 2024
1 check passed
@koculu koculu deleted the 85-enhancement-improve-validation-error-messages branch August 30, 2024 22:29
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.

[Enhancement] Improve validation error messages.
1 participant