Replies: 1 comment
-
I am also new to using Laravel Data, and according to what I understand as Data Transformer Object (DOT), it would be nice to have something like ->toCamelCase(); |
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
-
Hi!
New to laravel-data and I'm wondering how to make the pagination properties in JSON camel case?
Specifically, the
meta
properties are all snake case and derived from Laravel paginator classes.Ideally, we could apply the camel case mapper somewhere.
Thank you for your help.
Beta Was this translation helpful? Give feedback.
All reactions