I propose that we can extend Mirrors to operations, and use the most natural DSL of all - plain trait definitions.

Can we derive endpoints from just a trait definition? One of Scala's strengths is domain modelling, and from a data definition, we can derive generic information in a Mirror, e.g. to generate type classes. For operations (such as endpoints) there is less support from metaprogramming, so we often create DSLs to describe them. I propose that we can extend Mirrors to operations, and use the most natural DSL of all - plain trait definitions.
In my talk I will guide you through a deployment of a complete AI-based web service using Besom, Scala SDK for Pulumi.
In this beginner-friendly talk we'll try to find out using the power of Scala and functional programming techniques.
In this talk, we will take a tour around the `error` function. Starting from the simple use-cases and ending up with sophisticated yet developer-friendly error messages.
This talk aims to equip the audience with the minimum required bagage to get comfortable working with contravariance.
Join me for a fun and possibly opinionated talk about the state of Scala and other JVM languages.