Skip to content
Spice Framework on GitHub

ADR 0003: Prefer Generation Over Reflection

frameworkMaturity: previewSource: spice@c0641b3Exact reviewed source

Status: Accepted

Dependency wiring, routes, configuration binders, and cross-cutting wrappers should be generated when feasible. The runtime remains small and explicit. Reflection may be used only when it provides clear value that cannot reasonably be achieved at compile time.