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

toPromise() is deprecated #2

Open
CDevelopEF opened this issue Oct 30, 2023 · 1 comment
Open

toPromise() is deprecated #2

CDevelopEF opened this issue Oct 30, 2023 · 1 comment

Comments

@CDevelopEF
Copy link

Hello, thanks to your code I was able to understand what authentication was about in a microservice in nest, it's just that a while has passed, so in order to make the search easier for future users it would be a good idea to adapt the code on the blog and here on github Since in Auth.service you use the toPromise() function that is deprecated, lastValueFrom() firstValueFrom() I think it is the current way that they recommend in the rxjs documentation. I hope this is helpful and thank you for that great contribution from you. time 🙏🏻

@alesanmed
Copy link
Member

Hi! Thanks for the heads up. I'll update the code and post in the following days!

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

2 participants