Open lorensr opened 1 year ago
@lorensr since we have this sample https://github.com/temporalio/samples-typescript/pull/228 Can we close this issue?
I think it would be helpful to have a dev guide section on it, as it's a common enough issue and many won't find it in the samples.
Brief description
There are various issues related to how to share functions between bundled workflow code and activity code.
Your recommended content
One example is how to log from such functions.
Answer: ignore the real logger module in the bundleOptions, something like this (untested):