#Inline file instantiation in SDK
1 messages · Page 1 of 1 (latest)
👋 currently not supported.ref: https://github.com/dagger/dagger/issues/7388
1 messages · Page 1 of 1 (latest)
I find myself doing the following quite often:
return dag.Directory().WithNewFile("_", myJsonString).File("_")
Is there a more intuitive helper for "instantiating" a file that I have missed or is this the simplest way currently ?
Inline file instantiation in SDK
👋 currently not supported.ref: https://github.com/dagger/dagger/issues/7388