Skip to content

Commit e2b7888

Browse files
authored
added permalink to generateImpl
1 parent 3f50559 commit e2b7888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2024_12_09_dependency-injection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ object AppContextProviders {
179179
```
180180

181181

182-
(complete code is available in the repository: https://github.com/rssh/scala-appcontext )
182+
(complete code is available in the repository: https://github.com/rssh/scala-appcontext ; permalink to generateImpl: https://github.com/rssh/scala-appcontext/blob/666a02e788aa57922104569541511a16431690fb/shared/src/main/scala/com/github/rssh/appcontext/AppContextProviders.scala#L52 )
183183

184184
We separate `AppContextProvidersSearch` and `AppContextProviders` because we don't want to trigger `AppContextProviders` implicit generation during implicit search outside of service instance generation.
185185
Note that Scala currently has no way to make a macro that generates a given instance to fail an implicit search silently. We can only make errors during the search, which will abandon the whole compilation.

0 commit comments

Comments
 (0)