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
{{ message }}
This repository was archived by the owner on Nov 14, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: _posts/2024-10-15-zio-full-stack-webapp.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -170,7 +170,7 @@ Thanks to the power of SBT and multi-module support, it easy to compile and pack
170
170
171
171
In VS code you can see the modules view:
172
172
173
-
```xml
173
+
174
174
<table>
175
175
<tr>
176
176
<td>
@@ -201,7 +201,7 @@ In VS code you can see the modules view:
201
201
</td>
202
202
</tr>
203
203
</table>
204
-
```
204
+
205
205
206
206
Sometimes we need to [generate some static files](https://github.com/cheleb/zio-laminar-demo/blob/master/build.sbt#L63), like the index.html of the server module. This is done with SBT only when the server module is build.
207
207
@@ -400,7 +400,7 @@ In this example, the PersonService will check if the person is older than 18 bef
400
400
401
401
> **Task** is a type alias for a ZIO that can fail with a Throwable:
402
402
>
403
-
> `type **Task**[A] = ZIO[Any, **Throwable**, A]`
403
+
> type **Task**[A] = ZIO[Any, **Throwable**, A]
404
404
405
405
406
406
```scala
@@ -609,7 +609,7 @@ Everything is described as ZIO effects. `URIO[PersonService, PersonController]`
609
609
610
610
> **URIO** is a type alias for a ZIO that cannot fail:
611
611
>
612
-
> `type URIO[R, A] = ZIO[R, Nothing, A]`
612
+
> type **URIO**[R, A] = ZIO[R, **Nothing**, A]
613
613
614
614
**zServerLogic** is part of the Tapir ZIO support, and bridges a ZIO in the Rest API. Itis a combinator that will transform a ZIO effect into a server logic, it will handle the error and the success case.
0 commit comments