antonmi / antonmi/espec_phoenix

Renaming the `model` attribute ?

Aperta
#64 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Elixir
Stelle
138
Fork
31
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Heyhey

I'm pretty sure that the model attribute either comes from the ruby world or the old days when phoenix tried to be more like ruby on rails and had models.
Wouldn't it to make sense to rename that attribute to `schema` since its basically just testing the schema and the changesets of it?

Just wondering why it did not happened yet or if there is a specific reason you stuck with the `model`.

If there is interest for it I surely can provide a pull request for it.

best
Denny

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.