Let's go through some libraries from ZIO ecosystem that will allow us to implement API layer with ZIO HTTP
Using web framework can be good for prototyping but not necessarily for bigger production systems. In the end ti gives you more constraint than benefits. And we don't want to use Spring magic, do we? :)
Thankfully we have alternatives in Scala. This allows us to build modern, lightweight microservices that will do the job but allow us - developers - to benefit from functional programming.
In this talk we'll go through some libraries from ZIO ecosystem that will allow us to implement API layer with ZIO HTTP, utilising some type endpoints defined with Tapir, creating Swagger documentation and also connecting to database with Quill and ZIO SQL. Let's see how they work together!
Understanding the exact properties that disqualify a data type from being an instance of a given abstraction turns out to be surprisingly helpful
I'll share a handful of techniques that can help you avoid runtime errors and shift them to the realm of compile time
Learn about opaque types and add this new tool to your modelling toolbox!