FlowQueryFieldFactory

Trait FlowQueryFieldFactory 

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

Required Methods§

Source

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

Source

fn create_query_field( &self, flow_type: &FlowType, root_object_type: RootObjectType, ) -> Result<Field, ()>

Trait Implementations§

Source§

impl Injectable for dyn FlowQueryFieldFactory + Sync + Send

Implementors§