Docs.rs
mongo-graphql-0.0.2
mongo-graphql 0.0.2
Permalink
Docs.rs crate page
MIT
17 July 2026
Links
Repository
crates.io
Source
Owners
carlosguadir
Dependencies
async-graphql ^7.2
normal
aws_lambda_events ^0.15
normal
optional
base64 ^0.22
normal
chrono ^0.4
normal
futures ^0.3
normal
lambda_runtime ^0.13
normal
optional
mongodb ^3.8
normal
serde ^1.0
normal
serde_json ^1.0
normal
thiserror ^2.0
normal
tokio ^1.52
normal
aws_lambda_events ^0.15
dev
fake ^5
dev
lambda_runtime ^0.13
dev
temp-env ^0.3
dev
Versions
18.03%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module serialization
mongo_
graphql
0.0.2
Module serialization
Module Items
Functions
In mongo_
graphql::
helpers
mongo_graphql
::
helpers
Module
serialization
Copy item path
Source
Functions
§
bson_
to_
json
Convert a BSON value to its JSON equivalent.
document_
to_
graphql_
value
Convert a MongoDB document to a GraphQL-compatible JSON value.
input_
doc_
to_
mongo
Map GraphQL input field names back to MongoDB field names. Relation fields with hex string values are converted to ObjectId. Fields without an explicit
graphql_name
are returned unchanged. TODO this function look unnecessary, let’s review
json_
to_
field_
value
Convert a
serde_json::Value
into a dynamic
FieldValue
for resolver responses.