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

Add feature(bson-uuid) which will enable Uuid's from the bson crate #875

Merged
merged 2 commits into from Apr 19, 2022

Conversation

serates
Copy link
Contributor

@serates serates commented Mar 23, 2022

Simple change but has great impact when using async-graphql with a mongodb database. Adds a new feature bson-uuid which should not be used in combo with uuid (due to them defining the same scalar differently). But this adds support for bson::Uuid which ensures that bson's are stored in the database using the proper structure while returning them through graphql api as strings.

@sunli829 sunli829 changed the base branch from master to async-graphql-v4 April 19, 2022 02:27
@sunli829 sunli829 merged commit 4218b8a into async-graphql:async-graphql-v4 Apr 19, 2022
@sunli829
Copy link
Collaborator

Thanks! 😁

sunli829 added a commit that referenced this pull request Sep 1, 2022
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.

None yet

2 participants