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
Hello,
I love the way you are declaring the mongo connection inside a loader, well injected.
However I was wondering how you would do if you wanted to instantiate two different connections ?
Usually, the right way of declaring two connection would be :
Then import these connections directly from the model files, do you know anyway of doing that while keeping the pattern you are using in this boilerplate ?
Thanks for the boilerplate,
The text was updated successfully, but these errors were encountered:
Hello,
I love the way you are declaring the mongo connection inside a loader, well injected.
However I was wondering how you would do if you wanted to instantiate two different connections ?
Usually, the right way of declaring two connection would be :
Then import these connections directly from the model files, do you know anyway of doing that while keeping the pattern you are using in this boilerplate ?
Thanks for the boilerplate,
The text was updated successfully, but these errors were encountered: