You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/di.md
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -551,27 +551,33 @@ See the documentation for [`Scoped`](scope.md#scoped) for more details.
551
551
552
552
Metro is in an early stage and there are several bugs blocking a full roll out.
553
553
554
+
555
+
#### Missing integrations
556
+
557
+
Almost all App Platform specific custom extensions for `kotlin-inject-anvil` were migrated to Metro, including
558
+
`@ContributesRenderer` and `@ContributesRobot`. However the integration for `@ContributesRealImpl` and
559
+
`@ContributesMockImpl` is missing and still needs to be ported.
560
+
561
+
### Solved bugs in Kotlin 2.3.20 & Metro 0.10.0. Older versions won't receive the fix.
562
+
554
563
#### No full KMP support
555
564
556
565
Metro is ready to support KMP, but targets other than JVM/Android fail to merge types contributed with
557
566
`@ContributesTo` and `@ContributesBinding`. App Platform makes heavy use of them. This is called out in the
558
-
[Metro documentation](https://zacsweers.github.io/metro/latest/multiplatform.html#multiplatform). There is a chance
567
+
[Metro documentation](https://zacsweers.github.io/metro/0.7.7/multiplatform/). There is a chance
559
568
this will be fixed in Kotlin 2.3.
560
569
561
570
> There is one issue in the repo right now where the compiler appears to have a bug with generated FIR declarations where it doesn’t deserialize them correctly on non-JVM targets. Waiting for feedback from JB.
562
571
572
+
The ticket [metro/460](https://github.com/ZacSweers/metro/issues/460) and related in Kotlin [KT-58886](https://youtrack.jetbrains.com/issue/KT-58886) are closed.
573
+
563
574
#### Incremental compilation issues
564
575
565
576
While testing Metro in App Platform, we encountered incremental compilation issues that impacted merging components
566
-
and generated wrong code. This ticket is [metro/997](https://github.com/ZacSweers/metro/issues/997).
567
-
568
-
Other IC issues are reported under [KT-75865](https://youtrack.jetbrains.com/issue/KT-75865).
577
+
and generated wrong code. This ticket is [metro/997](https://github.com/ZacSweers/metro/issues/997) (closed).
569
578
570
-
#### Missing integrations
579
+
Other IC issues are reported under [KT-75865](https://youtrack.jetbrains.com/issue/KT-75865) (closed).
571
580
572
-
Almost all App Platform specific custom extensions for `kotlin-inject-anvil` were migrated to Metro, including
573
-
`@ContributesRenderer` and `@ContributesRobot`. However the integration for `@ContributesRealImpl` and
574
-
`@ContributesMockImpl` is missing and still needs to be ported.
0 commit comments