Why the createdAt, updatedAt and others columns are not being serialized and added to $extras? #4016
Unanswered
igortrinidad
asked this question in
Help
Replies: 1 comment
-
Actually, the implementation of my NamingStrategy was wrong, thanks anyway... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've worked with AdonisV4 in a various projects on the last two years and i'm migrating some of our projects to the v5... But i'm struggle with some basic tasks like serializing the model instance..
This is my model, i'm trying to get the createdAt and updatedAt and apply the user timezone, but the method isnt running...
Acessing the instance and serializing...
This example returns the following json:
Beta Was this translation helpful? Give feedback.
All reactions