-
Notifications
You must be signed in to change notification settings - Fork 239
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
Map primitive types to a custom type (e.g.: long to BigInt) #650
Comments
Hi, you are right, mapping |
Since I'm using axios, I'm planning on using |
I have the same problem, I did fix it with converting to string, but I am interested do you plan on fixing this soon? |
There was already support for custom mapping of arrays of primitive types (done in #636) so I just made it work also for this case. |
Released in v2.32.889. |
Hi,
thanks for your awesome library. I've found only one case where I can't find a solution:
The Java API returns a
long
, which gets represented as anumber
in typescript per default. Sadly, anumber
is not enough in this case and I would like to map the type toBigInt
. This works seamlessly with the classLong
, but I can't get it to work with the primitive type.Is there any way to configure this? If not, could this be implemented in some way?
The text was updated successfully, but these errors were encountered: