# Container v2 - [x] remove

Tokamak DI container v2 merged

submited by
Style Pass
2025-07-27 11:00:05

# Container v2 - [x] remove "runtime-peeling", `Container.init()` is fully-reso… lved & prepared in comptime now - [x] get rid of all `initXxx()`, `before/afterXxx` magic methods - [x] introduce one `M.configure(*tk.Bundle)` which can be used for everything (called in **comptime**) - [x] check that deps are unique, make mods mostly order-independent (except mock/override) - [x] introduce init/deinit runtime hooks (in **addition to** providers) - [x] introduce comptime hooks (postprocessing, validation, scanning, ...) - [x] decide if we want fallback/lazy (we don't) - [x] interfaces (intrusive) - [x] split to several meaningul commits (meta, impl, examples, readme, ...) - [x] include this list in the PR description & merge it https://github.com/user-attachments/assets/b56609f8-918e-4e9b-bd65-a86a0ee3d953

Leave a Comment
Related Posts