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

DT-780 [1/2]: Implement dataset based Json attribute validation #36

Merged
merged 3 commits into from
Dec 14, 2023

Conversation

nt-gt
Copy link
Collaborator

@nt-gt nt-gt commented Dec 13, 2023

This commit provides the infrastructure to do dataset based
validations. It also includes two sample checks from DT-612 to show
how it would be used.

@nt-gt nt-gt marked this pull request as ready for review December 13, 2023 14:36
@nt-gt nt-gt requested a review from gj0dcsa December 13, 2023 14:36
@nt-gt
Copy link
Collaborator Author

nt-gt commented Dec 13, 2023

@gj0dcsa Could you review this one for the approach taken? It is not a full implementation of DT-780 (I did not want invest more effort into it if you disagreed with the conceptual approach).

(Note: If you agree/approve, I intended merge this change and continue from here unless you say otherwise)

Copy link
Collaborator

@gj0dcsa gj0dcsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is exactly the kind of abstraction that I expect to see appearing based on your day-to-day experience with the kind of validations that you discover that you need, with an implementation guided by what makes it easiest to write many such validations in the future.

Signed-off-by: Niels Thykier <[email protected]>
This commit provides the infrastructure to do dataset based
validations.  It also includes two sample checks from DT-612 to show
how it would be used.

Signed-off-by: Niels Thykier <[email protected]>
@nt-gt nt-gt merged commit da74ada into dev Dec 14, 2023
1 check passed
@nt-gt nt-gt deleted the DT-780-p1 branch December 14, 2023 10:07
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