Skip to content

Issue deprecation notice for key_transform default changes #1646

Closed
@ianks

Description

@ianks

Today I upgraded AMS and spent a chunk of time trying to understand why my keys were all incorrect. It turns out that all of the keys in the JSONAPI adapter are now, by default, using the :dashed option....

IMO, this a breaking change, and unexpected. If we want to set some defaults that are different from the current behavior, I think a deprecation cycle is necessary. Also, we should keep the transformation as :unaltered until the deprecation cycle is over.

This change is going to cause some pain and breakage if we do not have some sort of warning about this behavior change.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions