Skip to content

[FEATURE]: DI container for controllers #71

Description

@NikSimDev

Feature Category

Developer experience

Problem Statement

Currently, controllers are created manually:

auto userController = std::make_shared<UserController>();

This does not scale well.

Proposed Solution

Add a simple DI:

  • singleton registry
  • scoped services
  • auto‑wiring through templates

API Design

Alternative Solutions

No response

Use Case

No response

Impact and Scope

No response

Contribution

  • I would like to implement this feature
  • I need guidance on implementation
  • I can help with testing

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions