jsonapi-serializable
jsonapi-serializable copied to clipboard
Is it possible to add global option for setting key_format
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