Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [#334] Fix incorrect ordering of serialized lists #333

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

protestContest
Copy link
Contributor

@protestContest protestContest commented Aug 19, 2024

A change introduced in JSONAPI.Serializer here (and a couple nearby spots) incorrectly orders a list response.

This fixes the list reversal, or reverts it in some places. List concatenation should be efficient enough in this instance.

Closes #334

@mattpolzin
Copy link
Member

Makes sense to me. Thanks for the new test that'll catch this regression going forward.

@protestContest protestContest changed the title Fix incorrect ordering of serialized lists fix: [#334] Fix incorrect ordering of serialized lists Aug 19, 2024
@protestContest
Copy link
Contributor Author

@mattpolzin I pushed some updates to satisfy the CI checks, but it looks like something weird happened with the deps in a couple of them. Can you re-run the checks?

@mattpolzin
Copy link
Member

Looks all good now. Can you bump the patch version number in this PR to save a bit of time (it'll release right away when we merge this PR that way).

@mattpolzin
Copy link
Member

On second thought, I see some of the changes made to the common configs in this project may do releases differently now. I'll merge this as-is and see if the automation just takes over.

Copy link
Member

@mattpolzin mattpolzin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@mattpolzin mattpolzin merged commit d01c956 into beam-community:main Aug 21, 2024
9 checks passed
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.

Serializer incorrectly re-orders lists
2 participants