| 797 | |
| 798 | function provideLegacyInterceptor(tag: string): Provider { |
| 799 | class LegacyTagInterceptor implements HttpInterceptor { |
| 800 | intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> { |
| 801 | return next.handle(addTagToRequest(req, tag)); |
| 802 | } |
| 803 | } |
| 804 | |
| 805 | const token = new InjectionToken(`LegacyTagInterceptor[${tag}]`, { |
| 806 | providedIn: 'root', |
nothing calls this directly
no outgoing calls
no test coverage detected