You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, all of my column names are stored in the database as underscore_names. I am using format and parse to translate that into camelCase. However, when I am trying to fetch relations, it does not work if a parse call is defined. It seems that the model is fetched, but unable to be re-associated with the parent model after parse is called.
Currently, all of my column names are stored in the database as
underscore_names
. I am usingformat
andparse
to translate that intocamelCase
. However, when I am trying to fetch relations, it does not work if aparse
call is defined. It seems that the model is fetched, but unable to be re-associated with the parent model afterparse
is called.https://gist.github.com/rickharrison/51dd8dbdcab1cf459372
However, if I add a line to parse to not change any key with
_id
in it, everything works as expected.The text was updated successfully, but these errors were encountered: