Some Scala & ZIO tips
To start this new year, let’s see some Scala and ZIO tips snippets!
How to cache queries with ZIO and ZQuery
Let’s say we have some employees and departments data.
For each employee I want departement info, but I don’t want to query multiple time for the same departement.
How to write a generic micro service with Scala 3
Here, I want to write a service that would be able to read, transform and write any type of data, as soon as the data types and the transformers are defined.
To learn more about the transformer pattern, you can read this post about type classes.
Happy new year everyone!
comments powered by Disqus