Describe the bug
When I set up a minimal API to receive an Azure.Messaging.CloudEvent in my minimal API with Wolverine enabled, I get the exception on startup:
Detected some kind of bi-directional dependency while trying to discover and plan a missing service registration
To Reproduce
Steps to reproduce the behavior:
- Install NuGet for Azure.Messaging with a .NET 7/8 web api project
- Install Wolverine and add the basic
builder.Host.UseWolverine();
- Create a MapPost endpoint with the following signature:
app.MapPost("/api/callbacks", (CloudEvent[] events) =>{});
- Run the app and observe the exception
Expected behavior
The web app should load correctly. If I remove the Wolverine statement it starts up no problem.
Desktop (please complete the following information):