google / google/guice

Guice AOP is not compatible with Kotlin Coroutines

Open
#1,772 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
12.7k
Forks
1.7k
Avg merge
11m
Merged PRs (30d)
2

Description

Similar to https://github.com/spring-projects/spring-framework/issues/22462

1. the suspend fun may return COROUTINE_SUSPENDED
2. Guice AOP needs to filter COROUTINE_SUSPENDED because the fun did not actually return

Would appreciate if there could be a similar Guice solution for Coroutines + Guice

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.