Skip to content

Field ordering support#4

Open
maroux wants to merge 9 commits into
clarkduvall:masterfrom
maroux:field_ordering
Open

Field ordering support#4
maroux wants to merge 9 commits into
clarkduvall:masterfrom
maroux:field_ordering

Conversation

@maroux

@maroux maroux commented Jun 11, 2015

Copy link
Copy Markdown

No description provided.

Aniruddha Maru added 9 commits June 3, 2015 11:55
- Added support for read-only fields
- Renamed `.data` to `.representation` (and added `.internal_value`) for better clarity
- Renamed `.to_value` to `.to_representation` (and added `to_internal_value`) for better clarity

TBD update documentation, fix benchmarks, update benchmarks

Fixes clarkduvall#1
New API - `.data` and `.deserialized_value`

Making `cls` a kwarg in `Serializer` instead of attribute
When deserializing Django objects, reverse relations need to be deserialized after primary key field

Fixes clarkduvall#3
@maroux

maroux commented Jun 11, 2015

Copy link
Copy Markdown
Author

This will be rebased once https://github.com/maroux/serpy/tree/deserialization is landed.

@belljustin

Copy link
Copy Markdown

How do you plan on supporting OrderedDicts in Python2.6, @maroux? Unfortunately six doesn't support them. Might have to add ordereddict as a dependency

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.

2 participants