Skip to content

Camel-case member names by default #393

@lindyhopchris

Description

@lindyhopchris

In the 1.x series we dasherized member names by default, because that was the default recommended by the JSON API spec.

However, the JSON API spec is changing (for 1.1) to recommend camel case member names:
https://jsonapi.org/recommendations/#naming

By default this package should therefore use camel casing, but make it super easy for people to continue using dasherized member names if they are already using that for their API. For example, maybe this default should be a value in the API's config?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions