Skip to content

Revert to JSON results from MongoDB #167

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

Merged
merged 2 commits into from
Jun 2, 2025
Merged

Conversation

EbiArnie
Copy link
Contributor

@EbiArnie EbiArnie commented May 30, 2025

Not all code uses the dataloaders. Adapting all queries to support
decoding of BSON docs looked complex and error-prone. Instead we go back
to receive decoded JSON documents.
In the future, we can refactor the code to always use dataloaders. This would help with caching and allow us to use BSON docs.

EbiArnie added 2 commits May 30, 2025 10:01
Not all code uses the dataloaders. Adapting all queries to support
decoding of BSON docs looked complex and error-prone. Instead we go back
to receive decoded JSON documents.
@EbiArnie EbiArnie changed the title Add MongoMock aware decode everywhere Revert to JSON results from MongoDB May 30, 2025
@EbiArnie EbiArnie requested a review from bilalebi May 30, 2025 14:38
Copy link
Contributor

@bilalebi bilalebi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@EbiArnie EbiArnie merged commit d28ba5c into develop Jun 2, 2025
1 check 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