-
I have a relation named materiaisFornecidos but when I include it i get the relation snake cased instead of camel cased: Endpoint: localhost/public/fornecedores/2?include=materiaisFornecidos Don't know if I'm doing something wrong or it is expected behavior. |
Beta Was this translation helpful? Give feedback.
Answered by
bianchi
Dec 14, 2020
Replies: 1 comment
-
My fault, not to do with this package. Just setting public static $snakeAttributes = false; on Laravel model did the trick Please, close this issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
bianchi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My fault, not to do with this package. Just setting public static $snakeAttributes = false; on Laravel model did the trick
Please, close this issue.