Skip to content

Translating stringed dash keys to camel #21

@brianlaw033

Description

@brianlaw033

I have
config.middleware.use OliveBranch::Middleware, inflection: 'camel'
in my application.rb

However, when I try to pass a jsonb names: { 'en-GB': 'Name' } from rails to client,
it becomes names: { 'enGb': 'Name' } which is unwanted.

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