I’m working on an App using phoenix 1.4. Im trying to understand in which file to define my Ecto changesets. This is my particular scenario:
Under the ‘Domain’ context im creating entities and actors. These two Ecto schemas are defined in:
My context related business logic lives in
I read this blog post a while back and to the best of my understanding it suggests to keep schemas clean and free of anything but the schema definitions, and favor putting any changeset definitions in the context (read the ‘Schemas are not models’ section of the blogpost’).
What is the most recent take on this, where should my changeset definitions for entity and actor go?