Standardize the model query builder params #1334
popovicieduard
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Yes sounds reasonable. Mind sharing a PR for same? |
Beta Was this translation helpful? Give feedback.
2 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.
-
In some query builder methods, you can pass camelCase params and in some you can't.
For example: you can pass camelCase inside .where, but in update you can't, you have to pass snake_keys params.
And in relationship methods you can pass camelCase params and everything is ok
Beta Was this translation helpful? Give feedback.
All reactions