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

encode raw fauna Docs #121

Merged
merged 1 commit into from
Aug 16, 2023
Merged

encode raw fauna Docs #121

merged 1 commit into from
Aug 16, 2023

Conversation

sprsquish
Copy link
Contributor

Problem

Raw fauna.Document objects may also need to be re-serialized. For instance, when they're part of a cursor.

Solution

Add a case for raw Document and NamedDocument

Result

Documents get serialized when seen.

Testing

Added two new unit tests.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@sprsquish sprsquish requested a review from cynicaljoy August 16, 2023 17:26
@sprsquish sprsquish merged commit 8446aca into main Aug 16, 2023
@sprsquish sprsquish deleted the encode-docs branch August 16, 2023 17:33
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