FWIW, phx.gen.schema includes import Ecto.Changeset as part of every generated schema file. I’d consider that a strong endorsement from the framework for putting changeset functions in schemas ![]()
FWIW, phx.gen.schema includes import Ecto.Changeset as part of every generated schema file. I’d consider that a strong endorsement from the framework for putting changeset functions in schemas ![]()