-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
@foal/typeorm fetchUser class add the ObjectID type in parameters and returns #548
Comments
Sorry for the late reply. This is definitely an issue with current version 1 of FoalTS.
The choice I made to define the id type as a This is definitely annoying because, in the state, I think we cannot use both the authentication system and TypeORM with MongoDB.
|
No problem. I suspected that testing mongodb with typeorm (still experimental) would not be easy :) |
@Fredy22 I finally found a way to solve this issue without adding breaking changes. The framework will export a new The feature is on its way and will be released with v1.9 |
Hello @LoicPoullain , ok thanks i test this :D |
The PR has been merged so I'm closing this issue. Version 1.9 should be released at the beginning of June. In the meantime, you can copy paste this code in your application if you need it. |
The ObjectID type is missing in the fetchUser class, for the mangodb database with typeorm
The text was updated successfully, but these errors were encountered: