antonmi / antonmi/espec_phoenix

Renaming the `model` attribute ?

Ouverte
#64 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Elixir
Étoiles
138
Forks
31
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.