Introducing InnoDI: macro-based DI with build-time graph validation
Swift Forums
Introducing InnoDI: macro-based DI with build-time graph validation
Hi everyone, I’d like to share InnoDI, a macro-based dependency injection library for Swift. InnoDI is built around an explicit construction graph: you declare inputs and providers in Swift container structs, and macros generate the initializers and typed overrides. The same declarations feed local diagnostics, build-time graph validation, and graph inspection. Here’s a small example with a live configuration and a test override, after adding the package and InnoDIDAGValidationPlugin to the t...
0 comments
No comments yet.