-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serialize: add
ValueAdapter
and ValueListAdapter
Add newtype wrappers that implement `SerializeRow`/`SerializeCql` if the type wrapped over implements `ValueList`/`Value`. It should be useful when migrating codebases to the new traits gradually so that objects from the unchanged code which only implement the old trait can be passed to the code which was already updated to the new traits.
- Loading branch information
Showing
2 changed files
with
97 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters