Hello cool project, I was just looking at the quickstart and it would be nice if ConfigureAsync was optional, instead you could have an abstract class e.g. BasicFlow which implements its own ConfigureAsync based on the name of the implementing class, something like this:
using DidactCore.Flows;
using DidactCore.Constants;
public abstract class BasicFlow : IFlow
{
private readonly IFlowConfigurator _flowConfigurator;
public BasicFlow(IFlowConfigurator flowConfigurator)
{
_flowConfigurator = flowConfigurator;
}
public async Task ConfigureAsync()
{
await _flowConfigurator
.WithTypeName(GetType().Name)
.WithName(Assembly.GetExecutingAssembly().Name)
.WithDescription(Assembly.GetExecutingAssembly().Name)
.AsVersion(Assembly.GetExecutingAssembly().Version)
.ForQueue(QueueTypes.HyperQueue, "Default")
.SaveConfigurationsAsync();
}
}
Hello cool project, I was just looking at the quickstart and it would be nice if ConfigureAsync was optional, instead you could have an abstract class e.g. BasicFlow which implements its own ConfigureAsync based on the name of the implementing class, something like this: