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.

Required Methods

Returns a list of fields that exist on this object type.

Implementors