logoalt Hacker News

zoilismlast Tuesday at 11:59 PM0 repliesview on HN

The Ash framework takes the approach you describe.

From the docs (https://hexdocs.pm/ash/what-is-ash.html):

"Model your application's behavior first, as data, and derive everything else automatically. Ash resources center around actions that represent domain logic."