Skip to content

feat(schema): Implement multi-table validation for schema command#30

Merged
litedatum merged 6 commits intodevelopfrom
feature/schema-multi-table
Aug 27, 2025
Merged

feat(schema): Implement multi-table validation for schema command#30
litedatum merged 6 commits intodevelopfrom
feature/schema-multi-table

Conversation

@litedatum
Copy link
Owner

@litedatum litedatum commented Aug 27, 2025

** This issue focuses on enhancing the schema command to support validating multiple database tables from a single data source in one run. This is a key feature
for improving the tool's utility in complex environments.

Depends on: Completion of Issue #1 (CLI Refactoring).

Acceptance Criteria:

  • The schema command is updated to use the new --conn option. It should not require a --table option, as the target tables will be defined within the rules
    file.
  • The command can successfully parse a new multi-table --rules file format, where the top-level JSON is an object with table names as keys.
  • The CLI's rule decomposition logic is updated to iterate through each table defined in the rules file and generate a complete list of atomic rules for the
    core engine.
  • The command's output is clearly grouped by table name to make results easy to interpret.
  • New unit and integration tests are added to cover multi-table validation scenarios.
    **

Resolve #27

@litedatum litedatum merged commit 41c5c97 into develop Aug 27, 2025
5 checks passed
@litedatum litedatum deleted the feature/schema-multi-table branch August 28, 2025 02:28
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