EntityQueryFieldFactory

Trait EntityQueryFieldFactory 

Source
pub trait EntityQueryFieldFactory:
    Send
    + Sync
    + Lifecycle {
    // Required methods
    fn create_query_fields(&self, namespace: &Namespace) -> Vec<Field>;
    fn create_query_field(
        &self,
        entity_type: &EntityType,
        root_object_type: RootObjectType,
    ) -> Field;
}

Required Methods§

Source

fn create_query_fields(&self, namespace: &Namespace) -> Vec<Field>

Source

fn create_query_field( &self, entity_type: &EntityType, root_object_type: RootObjectType, ) -> Field

Trait Implementations§

Source§

impl Injectable for dyn EntityQueryFieldFactory + Sync + Send

Implementors§