You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having a schema that disallows additional properties in every level of nesting and then adding an additional property in the parent element makes Taplo (both the VSC extension and the CLI lint) repeat the error for that single disallowed value on every level of children and all of their properties.
[db]
hodor = true# invalid property, should only generate one warning, 2 if value validation still happens# Every single key and value below this is being reported on,# with the error that 'hodor' was unexpected!
[db.mysql]
pool = true# moving hodor here makes only the db.mysql tree error out the wazoo
[db.mysql.other]
database = "mysuperawesomedb"
[db.postgres]
pool = true
[db.postgres.other]
database = "mysuperawesomedb"
[db.sqlite]
wal_mode = true
[db.sqlite.other]
db_file_path = "/my/super/awesome.db"
The text was updated successfully, but these errors were encountered:
Having a schema that disallows additional properties in every level of nesting and then adding an additional property in the parent element makes Taplo (both the VSC extension and the CLI lint) repeat the error for that single disallowed value on every level of children and all of their properties.
MRE:
schema
toml
The text was updated successfully, but these errors were encountered: