I accidentally pushed a commit to master, when my intention was to open a PR for discussion.
Rather than trying to undo what I did, I thought it would be best to bring attention to the change, and if it is not appropriate, we can discuss how to undo the change (open a PR w/ a revert commit).
In essence, I changed the language from A +PersistField+ correlates to a
column in a SQL database. In our person example above, name and age would be
our ++PersistField++s to A +PersistValue+ correlates to a column in a SQL database. In our person example
above, name and age would be our ++PersistValues++s.
Saying that a PersistField correlates to a column in our database is confusing, as it gives the impression that, for a data type such as data Person = Person {personName :: String, personAge :: Maybe Int}, there exists instances of PersistField for personName and personAge. (Which further implies we've generated data types for the fields, but I think even w/o this elaboration, the point of confusion stands).
Hi folks.
I accidentally pushed a commit to master, when my intention was to open a PR for discussion.
Rather than trying to undo what I did, I thought it would be best to bring attention to the change, and if it is not appropriate, we can discuss how to undo the change (open a PR w/ a revert commit).
In essence, I changed the language from A +PersistField+ correlates to a column in a SQL database. In our person example above, name and age would be our ++PersistField++s to A +PersistValue+ correlates to a column in a SQL database. In our person example above, name and age would be our ++PersistValues++s.
Saying that a
PersistField
correlates to a column in our database is confusing, as it gives the impression that, for a data type such asdata Person = Person {personName :: String, personAge :: Maybe Int}
, there exists instances ofPersistField
forpersonName
andpersonAge
. (Which further implies we've generated data types for the fields, but I think even w/o this elaboration, the point of confusion stands).LMK what you all think.