james wolf
james wolf
@gsans I was just about to post a new issue that was the same as this one. There is the same issue with opening up the info panel on the...
I am doing this and it kind of works like initialization. I setup db connection and schema setup after my node_module requires. I put all that code above the exported...
is there something wrong with my approach @davidebbo ?
what do you mean "each time you modify your function"? whenever I change my code? is that not where I want it to initialize?
is there some documentation of the Azure Function lifecycle? I am imagining that there is a server that is hosting the individual functions and the first request loads your function...
@davidebbo can you show an example of instantiating a database connection (somewhere outside the function code) that gets used in an Azure Function?
@davidebbo I am not understanding, is it not possible or you aren't sure if it is possible? Did Microsoft would release this as a product without proper examples or documentation?
no update on this?
@jimbojw yeah I can do that, I just worry about adding the additional complexity to a code sample. This is the first time I really used this but for mine...