Skip to content

enable shorthand rules mirroring dictionary with keys - top level#17

Merged
Edward-K1 merged 1 commit intomainfrom
feature/mirror-data
Mar 7, 2026
Merged

enable shorthand rules mirroring dictionary with keys - top level#17
Edward-K1 merged 1 commit intomainfrom
feature/mirror-data

Conversation

@Edward-K1
Copy link
Owner

@Edward-K1 Edward-K1 commented Mar 7, 2026

config_data = {
"app": {"name": "QuickScript", "version": "1"},
"database": {"host": "127.0.0.1", "port": 5432}
}

rules = {
"app": {
"name": "str|lower|min:3",
"version": "semver"
},
"database": {
"host": "ip",
"port": "int|between:1,65535"
}
}

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 7, 2026

@Edward-K1 Edward-K1 changed the title enable shorthand rules mirroring dictionary with keys enable shorthand rules mirroring dictionary with keys - top level Mar 7, 2026
@Edward-K1 Edward-K1 merged commit 826631a into main Mar 7, 2026
8 checks passed
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