You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import { initializeTransactions } from 'mylib';
async function bootstrap() {
initializeTransactions();
...
...
Code above makes transactions dont work ! Transaction initialization must be in the SAME module that it will used. I spend 3 hours researching why library was not working ... haha !
Best, and my warm congrats for this esplendid library !
The text was updated successfully, but these errors were encountered:
Hi @demostenes1509 can you please elaborate on what you mean by "module" in this case?
Are you saying that it must be done in the index.ts of your application (assuming that's your entry point) or does that mean that you need to always have this import in the file when you're using the transaction decorator?
Hi @demostenes1509,
First of all thanks for the "warm congrats" 😄
I think that the issue you mention here can be related to using dependencies and not peerDependencies in your modules. I did not have the chance to test it myself, but I assume this is the root cause.
Hi, @odavid !
This is not an issue, its just a warning to devs community.
My app is spread between several modules, and in order to 'reuse' code, I did something like this:
And ...
Code above makes transactions dont work ! Transaction initialization must be in the SAME module that it will used. I spend 3 hours researching why library was not working ... haha !
Best, and my warm congrats for this esplendid library !
The text was updated successfully, but these errors were encountered: