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

Add Angular 16 support #572

Open
Ajax-ua opened this issue May 12, 2023 · 5 comments
Open

Add Angular 16 support #572

Ajax-ua opened this issue May 12, 2023 · 5 comments

Comments

@Ajax-ua
Copy link

Ajax-ua commented May 12, 2023

ModuleWithProviders without a generic type is deprecated in Angular 16. So the package doesn't work after migration from Angular 15 to v16

@rfroetscher
Copy link

@neroniaky Do y'all have plans to support angular 16?

@vmk-dev
Copy link

vmk-dev commented Jan 16, 2024

what about Angular 16/17 support?
Is this library dead already?

@fabricioflores
Copy link

@Ajax-ua did you find a solution? or another library to manage devise token auth?

@Ajax-ua
Copy link
Author

Ajax-ua commented Jul 12, 2024

@fabricioflores No, seems like there is no alternative lib for that. We decided to implement our own solution

@raysuelzer
Copy link

So, it looks like in the library the underlying code is using things like CanActivate which was removed in version 16. The issue with the generic type argument is strange, because it does use a generic type argument in the code, but the generated .d.ts that is shipped does not include the generic. This is an easy fix as you simply need to override that to be ModuleWithProviders. But, it still breaks in Angular 16, I suspect due to the fact it is using a bunch of deprecated features.

I'm hoping that someone forks this and makes a compatible version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants