Skip to content

Let --tag select the checks of a tagged schema or property - #1862

Open
royroyroys wants to merge 1 commit into
datacontract:mainfrom
royroyroys:feat/tag-schema-and-property-levels
Open

royroyroys wants to merge 1 commit into
datacontract:mainfrom
royroyroys:feat/tag-schema-and-property-levels

Conversation

@royroyroys

Copy link
Copy Markdown
Contributor

datacontract test --tag matched only the tags of quality rules. It now also matches the tags of a schema or property: a tagged schema runs all of its schema and quality checks, JSON Schema validation included, and a tagged property those of that column and of the properties nested in it. The HANA and Azure Blob engines select the same way.

Service levels are declared outside the schema, so --tag does not select them. Happy to add that if they should follow the tag of their element.

  • Tests pass (uv run pytest)
  • Code formatted (uv run ruff check --fix && uv run ruff format)
  • Docs updated (if relevant)
  • CHANGELOG.md entry added

This branch has not been deployed

No deployments
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.

1 participant