pub trait FlowMutationObjectFactory:
Send
+ Sync
+ Lifecycle {
// Required methods
fn create_mutation_objects(&self) -> Vec<Object>;
fn create_mutation_object(&self, flow_type: FlowType) -> Object;
fn create_update_field(&self, flow_type: &FlowType) -> Option<Field>;
fn create_trigger_field(&self, flow_type: &FlowType) -> Option<Field>;
fn create_delete_field(&self) -> Field;
}Required Methods§
Sourcefn create_mutation_objects(&self) -> Vec<Object>
fn create_mutation_objects(&self) -> Vec<Object>
Creates the mutation objects for all flow types.
Sourcefn create_mutation_object(&self, flow_type: FlowType) -> Object
fn create_mutation_object(&self, flow_type: FlowType) -> Object
Create the mutation object for the given flow type.
Sourcefn create_update_field(&self, flow_type: &FlowType) -> Option<Field>
fn create_update_field(&self, flow_type: &FlowType) -> Option<Field>
Creates the update field of the mutation object for the given flow type.
Sourcefn create_trigger_field(&self, flow_type: &FlowType) -> Option<Field>
fn create_trigger_field(&self, flow_type: &FlowType) -> Option<Field>
Creates the trigger field of the mutation object for the given flow type.
Sourcefn create_delete_field(&self) -> Field
fn create_delete_field(&self) -> Field
Creates the delete field of the mutation object for the given flow type.