Skip to content

Remove key transform from record type#213

Open
fryertom44 wants to merge 1 commit intojsonapi-serializer:masterfrom
myorb-ltd:patch/remove_key_transform_on_type
Open

Remove key transform from record type#213
fryertom44 wants to merge 1 commit intojsonapi-serializer:masterfrom
myorb-ltd:patch/remove_key_transform_on_type

Conversation

@fryertom44
Copy link

@fryertom44 fryertom44 commented Mar 8, 2022

Currently if a key transform is specified, it will also apply it to the value of the record_type. There are two problems with this:

  • it's misleading - the record_type value is not a key
  • it breaks the integration with our Angular frontend, which relies on the record type to construct the resource's url

To fix this, the transformation of the record_type value has been removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant