Searching for third-party details in a microservice architecture
How do you enforce a pure domain model, while allowing clients to search for information related to, but not included in, your domain model?
Oct 27, 20227 min read236

Search for a command to run...

Series
I've wanted to learn F#, and want to share observations and solutions along the way - The project is to implement a kanban board microservice via DDD principles, acting as my own domain expert.
How do you enforce a pure domain model, while allowing clients to search for information related to, but not included in, your domain model?

Using a primitive type to store ids is inherently problematic. I explore the minimal way of creating a type-strong Id object in f#.
