Feb 24, 2024
A better and scalable way of conditionally applying an interceptor is to include an httpContext on the request. In that way the request knows when an interceptor has to be applied and the interceptor doesn't have to know every affected request.