flugg / laravel-responder

A Laravel Fractal package for building API responses, giving you the power of Fractal with Laravel's elegancy.
MIT License
861 stars 86 forks source link

add non camel-case relations support #160

Closed ratno closed 4 years ago

ratno commented 4 years ago

i have existing project that use non camel case relation method, when using laravel responder which convert all relations to camelcase make it fail to work,, so i add config to enable/disable camel-case convert, by default is using camel-case, but if we want to disable it just set it on config: use_camel_case_relations => false

flugg commented 4 years ago

Thanks for this. Sorry for the delay!