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

Validation Error Types should have Schemas #6

Open
crutcher opened this issue Feb 15, 2024 · 0 comments
Open

Validation Error Types should have Schemas #6

crutcher opened this issue Feb 15, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@crutcher
Copy link
Owner

The existing validation machinery here:
https://github.com/crutcher/loom/tree/main/tensortapestry-common/src/main/java/org/tensortapestry/common/validation

does an excellent job of collecting complex validation errors into JSON and/or to text output for exceptions.

But there's no enforcement that a given error type has particular fields set; so later error-aware tooling will be unstable.

This task is to cookup a validation schema mechanism, and tie it to error types (via a URI?)

@crutcher crutcher added the enhancement New feature or request label Feb 15, 2024
@crutcher crutcher self-assigned this Feb 15, 2024
@crutcher crutcher added this to the Optimization Demo milestone Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant