Designing a Rule Model
The Rule struct is the contract between business intent and runtime execution. Get the contract wrong and every other layer pays for it.
There is a moment, three days into building a rule store, when somebody on the team says: just make it a map[string]interface{}.
It’s a tempting suggestion. The map is flexible. The map will …
»
May 17, 2023