Skip to content

Is it possible to add global option for setting key_format #117

Description

@saygun

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions