Slackbot
07/21/2023, 2:15 PMmelix
07/21/2023, 2:16 PMmelix
07/21/2023, 2:17 PM@IgnoreEmptyDirectories, but for "ignore if not present"Adam
07/21/2023, 2:19 PMVampire
07/21/2023, 2:19 PM@Optional just means you can "not configure" it.
But if it is configured it must be present.melix
07/21/2023, 2:20 PMVampire
07/21/2023, 2:20 PMnull if not existing, which makes the property unset and thus @Optional kicking inmelix
07/21/2023, 2:21 PMmelix
07/21/2023, 2:22 PMVampire
07/21/2023, 2:22 PMmelix
07/21/2023, 2:22 PMmelix
07/21/2023, 2:23 PM.map a DirectoryVampire
07/21/2023, 2:23 PMVampire
07/21/2023, 2:23 PMDirectory is not lazymelix
07/21/2023, 2:23 PMnull if notVampire
07/21/2023, 2:24 PMDirectoryProperty, not the Directory, don't you? Or what do I get wrong?melix
07/21/2023, 2:24 PMVampire
07/21/2023, 2:26 PMDirectoryProperty to a Directory.
Yeah, if you want / need to do the exists check there, you need to wrap it in a provider { ... }.Vampire
07/21/2023, 2:27 PM@Internal property the consumer can configure with a possibly non-existing path and a derived property, that is @InputDirectory and maps the internal property, doing the null-check.Vampire
07/21/2023, 2:27 PMmelix
07/21/2023, 2:27 PMVampire
07/21/2023, 2:29 PMmelix
07/21/2023, 2:29 PMVampire
07/21/2023, 2:30 PMmelix
07/21/2023, 2:31 PMmelix
07/21/2023, 2:31 PMmelix
07/21/2023, 2:32 PMVampire
07/21/2023, 2:32 PM