Skip to content

Handles storages that encode as binary strings#17

Merged
msiemens merged 1 commit intomsiemens:masterfrom
jtbr:binary
Jul 24, 2023
Merged

Handles storages that encode as binary strings#17
msiemens merged 1 commit intomsiemens:masterfrom
jtbr:binary

Conversation

@jtbr
Copy link
Copy Markdown
Contributor

@jtbr jtbr commented Jul 12, 2023

This change allows tinydb_serialization to support storage extensions that utilize binary formats (such as BSON).

For example using BSON storage. The problem that arises is that the tag may be a string, but the value is a bytestring. This change ensures that either the tag and value are both strings, or the tag and value are both bytestrings.

@msiemens msiemens merged commit 3c0d2f3 into msiemens:master Jul 24, 2023
@msiemens
Copy link
Copy Markdown
Owner

Thank you! 🙂

@msiemens
Copy link
Copy Markdown
Owner

This has been released in v2.2.1 🎉

@jtbr jtbr deleted the binary branch September 7, 2023 11:26
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