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
The existence of a root file should be able to change the precedence of globs associated with schemas. As seen #3948, a project customarily looks for YAML files in directories like **/models/**.yaml. While this is too generic to apply to all situations, it would be useful for this glob to apply if and only if there is some sort of $MYPROJECTNAME.yaml file at the root directory.
In monorepos, the logic of detecting this file may increase code complexity or decrease performance too much, so at least initially, I propose that this logic only runs in "non-monorepos".
Are you making a PR for this?
Yes, I will create a PR.
The text was updated successfully, but these errors were encountered:
Description of the feature / enhancement.
The existence of a root file should be able to change the precedence of globs associated with schemas. As seen #3948, a project customarily looks for YAML files in directories like
**/models/**.yaml
. While this is too generic to apply to all situations, it would be useful for this glob to apply if and only if there is some sort of$MYPROJECTNAME.yaml
file at the root directory.In monorepos, the logic of detecting this file may increase code complexity or decrease performance too much, so at least initially, I propose that this logic only runs in "non-monorepos".
Are you making a PR for this?
Yes, I will create a PR.
The text was updated successfully, but these errors were encountered: