juniper 0.17.0

GraphQL server library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::{ScalarValue, SchemaType};

#[cfg_attr(
    not(feature = "schema-language"),
    expect(dead_code, reason = "common abstraction")
)]
pub trait SchemaTranslator<'a, T> {
    fn translate_schema<S: 'a + ScalarValue>(s: &'a SchemaType<S>) -> T;
}

#[cfg(feature = "schema-language")]
pub mod graphql_parser;