I have been implementing feature flag management with .Net 6 solution and i came across FeatureGate attribute can be used to guard API controller or an API endpoint. I was wondering :
- Does FeatureGate attribute use reflection in any sense.
- If Yes then does it cause any overhead or slows down the application.
I have been using FeatureGate attribute but someone pointed out that it uses reflection internally and can cause overhead.