
Clean Architecture in 2023 with Steven Smith
.NET Rocks!
00:00
JavaScript CSS
There is no way in core to new up a DB context if it's in infrastructure. Right. You can't, you know, at compile time with strong typing, just instantiate a type from that project. Even JavaScript's got some local scopes. That's by design. There's also a reason why we have things like variable scoping, even for the really smart developers and they don't make mistakes. It makes a lot easier if you only have to worry about a scope inside of a limited area. So this is more of a pit, pit is success mindset. If you're going to do that, the external dependency you'regoing to do to the infrastructure.
Play episode from 39:45
Transcript


