Files
directus/docs
José Varela a3966103bf Packages/Env: Allow casting when reading config value from a file (#22164)
* Allow cast file or default to string

* adopted test

* do not default to string

* added test

* combined tests for reading config from a file

* better function name

* adopted file name

* reference fixes

* another reference fix

* fixed references for mocks

* additional test for type casting of default configs

* replaced equal check with toHaveBeenCalled

* new test file with fewer mocks

* a word regarding this in the docs

* enhanced new test

* test casting to string although string contains comma

* formatting in docs

* tiny tweak regarding readability

* changeset

* added another default type for config variable

* final comments

---------

Co-authored-by: Jan Arends <jan.arends@mailbox.org>
2024-08-08 12:03:33 +02:00
..
2024-07-15 13:53:59 +00:00
2024-08-05 16:21:55 -04:00
2024-02-07 18:06:20 +01:00
2024-08-05 16:21:55 -04:00
2024-08-05 16:21:55 -04:00
2024-07-02 17:23:20 +02:00
2024-01-19 12:59:44 +00:00