-
Notifications
You must be signed in to change notification settings - Fork 40
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
fix encode / decode by type to support branded ids #35
base: master
Are you sure you want to change the base?
fix encode / decode by type to support branded ids #35
Conversation
rares-lupascu
commented
Jul 17, 2021
- for some reason decodeByType was handling objects and dates the same
- in my scenario the branded id was an abject that needed to be treated differently than a date
- I added a check for the existence of the toString method
Thanks for your contribution. |
i would but i was expecting tests to work locally
i ran so how do I check my tests before pushing them? thanks |
What is the exact error of the testing? |
|
can I also ask the reason for using
instead of
|
I believe it's a TypeORM issue: typeorm/typeorm#5733 Please remove the |
It is just a different implementation. |