jsonapi-serializable icon indicating copy to clipboard operation
jsonapi-serializable copied to clipboard

Is it possible to add global option for setting key_format

Open saygun opened this issue 4 years ago • 0 comments

Hi all. Upcoming JSON:API version recommending camelCase. Currently, I derived serializable resources from base one which defines key format as:

key_format ->(key) { key.to_s.camelize(:lower) }

Is it possible to define it in the initializer globally? If not so, I could start working on it

saygun avatar Mar 20 '20 14:03 saygun