This repository contains a sample SpringBoot application that uses a sealed class hierarchy to represent different types of products in a data oriented and functional way.
To learn more about sealed classes and their practical use cases, read the accompanying blog post: https://frustrated-functor.dev/posts/14112025-sealed-classes-in-java.md.