Trait juniper_compose::ComposableObject
source · [−]pub trait ComposableObject: GraphQLTypeAsync + Default where
Self::Context: Sync,
Self::TypeInfo: Sync, {
fn fields() -> &'static [&'static str];
}
Expand description
Object types that you want to compose into one must implement this trait. Use composable_object to implement it.