Skip to content

Question about DI with ViewModels and CompiledBindings #19357

Answered by stevemonaco
Ruttie2006 asked this question in Q&A
Discussion options

You must be logged in to vote

Views are directly coupled to a type. Whether that's a concrete VM, base VM, or an interface is up to you. DI doesn't mean you need to abstract absolutely everything and turning everything into an abstraction without a concrete purpose is regarded as more of an antipattern these days.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@thevortexcloud
Comment options

Answer selected by Ruttie2006
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants