Skip to content

Commit 632ccb9

Browse files
committed
Update DI docs
1 parent afc5e05 commit 632ccb9

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

DEV.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
git diff
1616
git commit -am "msg"
1717

18-
$VERSION="0.0.22"
18+
$VERSION="0.0.23"
1919
git commit --allow-empty -m "Release $VERSION"
2020
git tag -a $VERSION -m "Release $VERSION"
2121
git push --atomic origin main $VERSION
@@ -27,6 +27,8 @@ git push --atomic origin main $VERSION
2727

2828
- HTMX headers consts
2929

30+
- MiMa bin compat
31+
3032
- giter8 template for REST
3133
- add more validators https://javaee.github.io/javaee-spec/javadocs/javax/validation/constraints/package-summary.html
3234
- webjars

docs/src/files/philosophy/DependencyInjection.scala

+3-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ object DependencyInjection extends PhilosophyPage {
1717
1818
Not in a purely-functional-monadic style.
1919

20-
Yes in a direct style.
21-
For singletons:
22-
- just instantiate a class and pass the object around
23-
- for request/session-scoped instances use scala 3 context functions (implicit functions)
20+
Yes in a direct style:
21+
- for singletons: just *instantiate a class* and pass the object around.
22+
- for request/session-scoped instances: use scala 3 *context functions* (implicit functions).
2423

2524
If you ever used PlayFramework, Slick 2 and similar, you might have used this pattern:
2625
```scala

0 commit comments

Comments
 (0)