| 645 | |
| 646 | function provideLegacyInterceptor(tag: string): Provider { |
| 647 | class LegacyTagInterceptor implements HttpInterceptor { |
| 648 | intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> { |
| 649 | return next.handle(addTagToRequest(req, tag)); |
| 650 | } |
| 651 | } |
| 652 | |
| 653 | const token = new InjectionToken(`LegacyTagInterceptor[${tag}]`, { |
| 654 | providedIn: 'root', |
nothing calls this directly
no outgoing calls
no test coverage detected