graphql_federated_graph/lib.rs
1//! A structured representation of a federated GraphQL schema. Can be instantiated by [composition](https://crates.io/crates/graphql-composition) or [from SDL](`from_sdl()`).
2
3pub mod directives;
4
5mod federated_graph;
6mod from_sdl;
7mod render_sdl;
8
9pub use self::federated_graph::*;
10pub use directives::*;
11
12#[cfg(feature = "render_sdl")]
13pub use render_sdl::{display_graphql_string_literal, render_api_sdl, render_federated_sdl};
14
15#[cfg(feature = "from_sdl")]
16pub use from_sdl::DomainError;