Compile-time feature flags in C# using IL weaving and a Roslyn analyzer
I got fed up of writing this everywhere:
if (await _featureManager.IsEnabledAsync("SendWelcomeEmail"))
{
await SendWelcomeEmailAsync(user);
}
Not because it's hard. Because it's noise. It's the s
chaotic-neutral-dev.hashnode.dev9 min read