Closed andylim0221 closed 2 years ago
I don't think so. https://repl.it/@icebob/moleculer-dev-hexdec
I could reproduce with REPL. So it's not a validation issue
In this case, the problem is in vorpal?
Yes, I think it is. @andylim0221 can you provide more info? Did you use REPL?
@AndreMaz I was using moleculer-repl.
however, when i query it through the url, it works out as what I expected. Perhaps there must be something wrong with the moleculer-repl.
Current Behavior
We have an action with the following parameter setup:
We pass a hexadecimal string, eg. '0xab706...' into the params, the hexadecimal string is being converted into number '7.7544153918976e+76'.
Expected Behavior
Expected to pass the original hexadecimal string and not convert it.
Context