Skip to content

Commit

Permalink
Simplify Wolverine sample
Browse files Browse the repository at this point in the history
  • Loading branch information
stidsborg committed Aug 30, 2024
1 parent d30d62a commit ee582e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@

<ItemGroup>
<ProjectReference Include="..\..\..\Cleipnir.Flows\Cleipnir.Flows.csproj" />
<ProjectReference Include="..\..\..\SourceGeneration\Cleipnir.Flows.SourceGenerator\Cleipnir.Flows.SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ private static IHostBuilder CreateHostBuilder(string[] args) =>
{
services.AddFlows(c => c
.UseInMemoryStore()
.RegisterFlow<SimpleFlow, SimpleFlows>()
//.RegisterFlowsAutomatically()
.RegisterFlowsAutomatically()
);
})
.UseWolverine();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Cleipnir.Flows.Wolverine.Console;

[SourceGeneration.Ignore]
public class SimpleFlow : Flow
{
public override async Task Run()
Expand Down

0 comments on commit ee582e8

Please sign in to comment.