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

Serializer field ordering #88

Merged
merged 1 commit into from
Jan 10, 2022

Conversation

stevelacey
Copy link
Contributor

@stevelacey stevelacey commented Jan 5, 2022

Sort fields output in the json by the order in the serializer meta fields list, this was already the default in worf but for some reason it doesn't always work, this defaults it harder, while still allowing it to be customized per serializer or via settings.

https://marshmallow.readthedocs.io/en/stable/quickstart.html#ordering-output

@stevelacey stevelacey merged commit 64ad1cc into master Jan 10, 2022
@stevelacey stevelacey deleted the improvement/serializer-field-ordering branch January 10, 2022 13:44
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