- Issue created by @phenaproxima
- Merge request !6925Add a few constraints and mark file.settings as fully validatable β (Open) created by phenaproxima
- Status changed to Needs review
about 1 year ago 6:29pm 5 March 2024 - Status changed to Needs work
about 1 year ago 7:56pm 5 March 2024 - First commit to issue fork.
- π³π±Netherlands bbrala Netherlands
rebased and left question regarding possible solition for file vs directory
- π³π±Netherlands bbrala Netherlands
All is green, gonna set to needs review for visibility on the one part that still needs decision based on review.
- π§πͺBelgium borisson_ Mechelen, π§πͺ
So the question on the MR is if we can split out a config schema for a file vs a directory. I think that is always different. I don't know of any places in core (or contrib) where you have to enter a path to a directory-or-file. So splitting these into two different schemas makes sense to me.
- π³π±Netherlands bbrala Netherlands
Not 100% positive on what this means;
Add new types?
type: directory
type: file_uriAnd/or constraints to verify existence?
File?
Directory? - π§πͺBelgium borisson_ Mechelen, π§πͺ
Add new types?
type: directory
type: file_uriYes, those 2 new types should be made, and those types should get a constraint.
For file_uri it could be a file_exists check (or that symfony constraint I guess). For directory it should either exist or be in a writable place?