Skip to content

Standardize Ktor dependency injection on ktor-server-di #206

Description

@zantvoort

Storm already ships Ktor integration: the install(Storm) plugin with HOCON auto-configuration, repository auto-registration, coroutine-aware transactions, and storm-ktor-test. As with Spring Boot, the integration exists and works, and the 1.13.0 milestone tightens it. This issue settles the dependency injection story.

Support only the built-in DI:

Tasks:

  • Bump Ktor from 3.1.2 to current 3.x
  • Expose ORMTemplate and the registered repositories through ktor-server-di (new storm-ktor-di module, or folded into storm-ktor behind an optional dependency)
  • Remove storm-ktor-koin
  • Docs: manual wiring recipe for Koin users

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestktorKtor integration

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions