SAFE-Stack / SAFE-template

dotnet CLI template for SAFE project
MIT License
282 stars 88 forks source link

Reformat default server.fs - use DI #466

Closed isaacabraham closed 2 years ago

isaacabraham commented 3 years ago

Keeps the class-based structure, but makes the following changes:

olivercoad commented 3 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.

isaacabraham commented 3 years ago

@olivercoad exactly. And yes, my preference is the other one too :-)

theimowski commented 3 years ago

not sure which one I prefer TBH :) need to give it some more thoughts

isaacabraham commented 2 years ago

I suggest we close this and convert into a recipe / guide for DI with SAFE Stack.

isaacabraham commented 2 years ago

Closing this - one of us will create a recipe explaining the basics of DI within the context of the server-side SAFE Stack components.

isaacabraham commented 2 years ago

cc: @Ryan-Palmer-CIT @theprash @Akash-Mair