Ross Coundon
05/12/2022, 11:29 AMapp.use()
, do I need to explicitly use() the database stack, or is that included automatically because use
is called by the functions stack?thdxr
05/12/2022, 1:07 PMthdxr
05/12/2022, 1:07 PMRoss Coundon
05/12/2022, 1:08 PMthdxr
05/12/2022, 1:08 PMthdxr
05/12/2022, 1:09 PMRoss Coundon
05/12/2022, 1:10 PMuse()
and have that stack loadedthdxr
05/12/2022, 1:11 PMRoss Coundon
05/12/2022, 1:11 PMuse
s a database stack and an API stack.
Then we could add an optional stack at the top level that has its own database stackthdxr
05/12/2022, 1:12 PMRoss Coundon
05/12/2022, 1:12 PMthdxr
05/12/2022, 1:12 PMthdxr
05/12/2022, 1:12 PMthdxr
05/12/2022, 1:13 PMRoss Coundon
05/12/2022, 1:13 PMapp.stack would only define “entrypoints”exactly
Derek Kershner
05/12/2022, 3:17 PMShould I define a separate stack for the functions for that module and the Table for that module.The answer is an absolute yes. Being able to delete and re-create functions without deleting the associated persistence layer is an ability you should never live without.