Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The withInterceptors and functional interceptors as DI-provided may be phased out in the future #18451

Open
pawelfras opened this issue Feb 6, 2024 · 0 comments
Labels
ng-next-upgrade Issues that may occur during next upgrades of Angular

Comments

@pawelfras
Copy link
Contributor

          Good catch. That's the reason why e2e tests were failing.

Apart from that, when adding the withInterceptorsFromDi() config, I noticed this in its description:

Prefer `withInterceptors` and functional interceptors instead, as support for DI-provided interceptors may be phased out in a later release.

We should remember this in the future.

Originally posted by @pawelfras in #18443 (comment)

@pawelfras pawelfras added the ng-next-upgrade Issues that may occur during next upgrades of Angular label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ng-next-upgrade Issues that may occur during next upgrades of Angular
Projects
None yet
Development

No branches or pull requests

1 participant