Closed isaacabraham closed 2 years ago
I'm guessing you're choosing between these two PRs. I like #465. This one would be great as a recipe for how to use DI.
@olivercoad exactly. And yes, my preference is the other one too :-)
not sure which one I prefer TBH :) need to give it some more thoughts
I suggest we close this and convert into a recipe / guide for DI with SAFE Stack.
Closing this - one of us will create a recipe explaining the basics of DI within the context of the server-side SAFE Stack components.
cc: @Ryan-Palmer-CIT @theprash @Akash-Mair
Keeps the class-based structure, but makes the following changes:
GetService
method.