juniper_puff 0.16.0-dev

GraphQL server library. Release for Puff
Documentation
1
2
3
4
5
6
7
8
use crate::{ScalarValue, SchemaType};

pub trait SchemaTranslator<'a, T> {
    fn translate_schema<S: 'a + ScalarValue>(s: &'a SchemaType<S>) -> T;
}

#[cfg(feature = "graphql-parser")]
pub mod graphql_parser;