Skip to content

Suporte ao Koin Annotations -> Core Network#73

Merged
gabrielbmoro merged 4 commits intomasterfrom
feature/convert-koin-network-module-to-koin-annotations
Apr 4, 2026
Merged

Suporte ao Koin Annotations -> Core Network#73
gabrielbmoro merged 4 commits intomasterfrom
feature/convert-koin-network-module-to-koin-annotations

Conversation

@gabrielbmoro
Copy link
Copy Markdown

Descrição

  • Suporte ao Koin Annotations -> Core Network

Checklist

  • Os testes foram executados e passaram com sucesso.
  • As alterações de código seguem as diretrizes de estilo do projeto.
  • Foram adicionados testes, se aplicável.
  • Se inscreveu no canal?😛

- Create `HttpClientBuilder` to centralize Ktor `HttpClient` configuration, including negotiation, timeouts, authentication, and error validation.
- Refactor `NetworkModule` to use `HttpClientBuilder` and remove redundant host/profile qualifiers.
- Clean up unused interceptor qualifiers in `QualifierNetworking.kt`.
- Apply `koin-annotations-setup` plugin to `core-networking` module.
- Refactor `NetworkModule` from a DSL-based object to an annotated class using `@Module`, `@Single`, and `@Qualifier`.
- Update `AppModule` to instantiate the generated `NetworkModule` class.
- Remove `QualifierHost` and `QualifierProfile` from `QualifierNetworking.kt`.
@gabrielbmoro gabrielbmoro requested a review from a team as a code owner March 29, 2026 20:06
@github-actions
Copy link
Copy Markdown

🦙 MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Warnings Elapsed time
⚠️ KOTLIN detekt yes 58 no 5.5s
❌ MARKDOWN markdownlint 6 84 0 0.78s
⚠️ YAML prettier 6 1 2 0.82s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

@gabrielbmoro gabrielbmoro merged commit 20b66ce into master Apr 4, 2026
4 checks passed
@gabrielbmoro gabrielbmoro deleted the feature/convert-koin-network-module-to-koin-annotations branch April 4, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants