Open darrenfoley opened 4 months ago
Hmm yeah I can look into that. Currently busy with client work that's why it's been slow around here but I can try to sneak it in
I was actually wrong about part of this. WebApplication.CreateBuilder().Build()
returns a WebApplication
, which does indeed implement IApplicationBuilder
.
Host.CreateApplicationBuilder().Build()
returns an IHost
though, so that doesn't work. That said, I'm not sure if you want it to work or just want to require people to use a WebApplication
. Feel free to close if you see fit.
The
UseTwitchLibEventSubWebhooks
extension method is currently defined onIApplicationBuilder
, which is being phased out in favor ofIHostApplicationBuilder
.HostApplicationBuilder
is returned byHost.CreateApplicationBuilder()
and implementsIHostApplicationBuilder
.WebApplicationBuilder
is returned byWebApplication.CreateBuilder()
and also implementsIHostApplicationBuilder
.Can we get support for this new interface?