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

Deserialization error when --optimization=true #3

Open
JimiJones opened this issue May 16, 2019 · 2 comments
Open

Deserialization error when --optimization=true #3

JimiJones opened this issue May 16, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@JimiJones
Copy link

Hello,
I found a bug when I tried to use the angular project with production profile active. I figure that was because of the angular optimization active on that profile:
I use some custom type adapter and when Tyson try to found the adapter for the deserialization it get wrong because of type hash who are equals and shouldn't (certainly because of the optimization which rename type with single letter for example).
So because the use of the hash type in _typeTokenCache to get the adapter, it get the wrong type since hash type are equals for two different type.

Hoping I'm clear enough to help you to solve that bug :)

@hyperloris
Copy link
Owner

Hello Jimi, first of all thank you for your interest in the library.
I will look into it in the next days and I'll let you know ;)

@hyperloris hyperloris added the bug Something isn't working label May 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@hyperloris @JimiJones and others