I know models have reached their sell by date, but…
I have something like this,
model.changeset(%User{}, row)
which works, but I want to reference the struct which is defined by the schema in the model - making this call generic, very sloppily:
model.changeset(%model{}, row)
which of course, does not work. Am sure there’s something obvious that I am missing - help appreciated : )