Skip to content

Feature/validation dsl #10

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

Merged
merged 18 commits into from
Nov 22, 2024
Merged

Feature/validation dsl #10

merged 18 commits into from
Nov 22, 2024

Conversation

stijn-dejongh
Copy link
Member

Implements DSL-file based creation of ModularRulesets, as specified in ADR #9.

This branch includes the base classes CsvFile and CsvRuleSpec that serve as a solid basis for further implementation.
Extensibility of the code is ensured due to the CsvValidationRules following the Open-Closed principle by disallowing the class itself to be modfied (final) but allowing new RuleSpecifications to be added dynamically. As such, the class is mutable.

@stijn-dejongh stijn-dejongh added the enhancement New feature or request label Nov 22, 2024
@stijn-dejongh stijn-dejongh added this to the real-world-usage milestone Nov 22, 2024
@stijn-dejongh stijn-dejongh self-assigned this Nov 22, 2024
@stijn-dejongh stijn-dejongh linked an issue Nov 22, 2024 that may be closed by this pull request
Copy link

@stijn-dejongh stijn-dejongh merged commit 96d6d59 into main Nov 22, 2024
3 checks passed
@stijn-dejongh stijn-dejongh deleted the feature/validation_DSL branch November 22, 2024 08:03
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
None yet
Development

Successfully merging this pull request may close these issues.

ADR: Write a custom validation DSL
1 participant