https://wendelladriel.com/blog/laravel-route-binding-behind-the-curtains
#laravel #dependencyinjection #routing #deepdive #models
Think your FactoryKit test overrides are working correctly? Global state can silently bypass them. Use .once() and AutoRegistering to guarantee mock implementations resolve as expected - every time.
🔗: https://craftingswift.dev/articles/defaults-and-overrides-for-factory-contexts-with-factorykit/ by Felipe Espinoza
🚀 Koin 4.2.1 is out!
Fixes include:
✔️ Linked scope param resolution
✔️ JVM ABI compatibility restored
✔️ Scope concurrency fix
Plus better error messages & safer CI checks 👏
👇
https://github.com/InsertKoinIO/koin/releases/tag/4.2.1
#Kotlin #AndroidDev #Koin #KMP #Android #DependencyInjection
🚀 Koin 4.2.1-RC1 is out!
🐛 Fixes ABI issue in runOnKoinStarted
🔍 Better scope error messages
⚙️ CI now enforces API compatibility
🔜 Concurrency + env fixes coming in final
👉 https://github.com/InsertKoinIO/koin/releases/tag/4.2.1-RC1
No More Public References - Final Dependency #Dependencyinjection #Editortools #Optimisation #Tools #Publicvariables #Scripting #Automation #AssetStore
https://u3dn.com/packages/no-more-public-references-final-dependency-293239
🔹 Explicit services
🔹 Dynamic callbacks
🔹 Builders & aliases
🔹 Custom loaders
The loader isn’t just DI. It’s your app’s orchestration engine.
Autowiring only… or full control? 👀
🔗 LINK: https://www.temma.net/en/documentation/loader
#PHP #DependencyInjection #Backend #SoftwareArchitecture #WebDev
Meet #Rust + #DependencyInjection #MacroCrimes:
Supercharge Rust functions with implicit arguments using CGP v0.7.0
https://contextgeneric.dev/blog/v0.7.0-release/
Absolutely mind-blowing stuff! 🤯
I think this can be very useful for e.g. #UI libraries - really reminds me of #Vue's provide/inject mechanism:
https://vuejs.org/guide/components/provide-inject.html#provide-inject

CGP v0.7.0 has been released, bringing a major expansion to the CGP macro toolkit. The centerpiece of this release is a suite of new annotations — #[cgpfn], #[implicit], #[uses], #[extend], #[useprovider], and #[use_type] — that let you write context-generic code in plain function syntax with dramatically less boilerplate than before.
🧵 New: Modernizing .NET – Part 12
Use HttpClientFactory in legacy background threads with the SharedContext pattern.
Thread‑safe, DI‑friendly, minimal refactoring.
📖 Read → https://medium.com/@michael.kopt/19c66938fedf
#DotNet #DotNetCore #DotNet8 #DotNet9 #DotNet10 #ASPNet #ASPNetCore #CSharp #LegacyCode #HttpClientFactory #DependencyInjection #BackgroundThreads