View Source Blunt.DispatchStrategy.PipelineResolver.Default (blunt v0.1.1)
Resolves CommandPipelines and QueryPipelines by convention.
Pipeline modules are meant to be named "Namespace.MessagePipeline". That is, the message module with "Pipeline" appended to the end.
Link to this section Summary
Functions
Callback implementation for Blunt.DispatchStrategy.PipelineResolver.resolve/2.
Link to this section Types
Link to this section Functions
Specs
resolve(message_type(), message_module()) :: {:ok, pipeline_module()} | :error
Callback implementation for Blunt.DispatchStrategy.PipelineResolver.resolve/2.