Registry / serialization / apollo-encoder

apollo-encoder

JSON →
library0.8.0rscratesunverified

Library to serialise GraphQL schemas into valid SDL format.

# Cargo.toml [dependencies] apollo-encoder = "0.8.0"
INSTALL
IMPORT
SIG · APOLLO-ENCODER
A
apollo-encoder
serializationrustv0.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Schema
use apollo_encoder::Schema;

Creates an empty GraphQL schema and serializes it to SDL.

use apollo_encoder::Schema; fn main() { let schema = Schema::new(); let sdl = schema.to_string(); println!("{}", sdl); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
30
OpenAI (training)
2
Resources
apollo-encoder — cargo add apollo-encoder · libregistry