Skip to content

feat: add Pickle trait#13

Merged
jdon merged 1 commit intorewrite_traitsfrom
pickles
Jul 25, 2025
Merged

feat: add Pickle trait#13
jdon merged 1 commit intorewrite_traitsfrom
pickles

Conversation

@aewakefield
Copy link
Copy Markdown
Collaborator

This allows the application to control serialization. Doing this can allow the application to choose the serialization format they want. It can also allow the application to choose whether to derive serialize on their aggregate or not. For example they may want a mapping to some other type to prevent serializing their aggregate and making it more annoying to change.

There is an implementation of Pickle for implementations things that implement Serialize and DeserializeOwned.

This allows the application to control serialization. Doing this can
allow the application to choose the serialization format they want. It
can also allow the application to choose whether to derive serialize
on their aggregate or not. For example they may want a mapping to some
other type to prevent serializing their aggregate and making it more
annoying to change.
@jdon jdon merged commit 389fed5 into rewrite_traits Jul 25, 2025
4 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.

2 participants