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
With the module import syntax added some versions back, [[module.imports]] started taking [[module.imports.mounts]], which is distinct from [[module.mounts]] in that the mounts are coming from the just-imported module as opposed to local folders. The schema should allow for this.
❌ Actual Behavior
As it stands, the schema doesn't appear to allow for it, and tools using the schema to validate throw errors such as "Additional properties are not allowed ('mounts' was unexpected)" (the VS Code extension Even Better Toml is where I'm encountering this error text, but it's clearly a validation error), because module.imports.mounts isn't defined in the schema and the addition of properties not defined in the schema is not allowed.
(I use toml for the config file where I'm running into this, but since the issue template specifically asks for yaml or json, here's what I presume is the json, translated from the above toml.)
Area with issue?
JSON Schema
✔️ Expected Behavior
With the module import syntax added some versions back,
[[module.imports]]
started taking[[module.imports.mounts]]
, which is distinct from[[module.mounts]]
in that the mounts are coming from the just-imported module as opposed to local folders. The schema should allow for this.❌ Actual Behavior
As it stands, the schema doesn't appear to allow for it, and tools using the schema to validate throw errors such as "Additional properties are not allowed ('mounts' was unexpected)" (the VS Code extension Even Better Toml is where I'm encountering this error text, but it's clearly a validation error), because
module.imports.mounts
isn't defined in the schema and the addition of properties not defined in the schema is not allowed.YAML or JSON file that does not work.
(I use toml for the config file where I'm running into this, but since the issue template specifically asks for yaml or json, here's what I presume is the json, translated from the above toml.)
IDE or code editor.
None
Are you making a PR for this?
No, someone else must create the PR.
The text was updated successfully, but these errors were encountered: