dotvvm icon indicating copy to clipboard operation
dotvvm copied to clipboard

Handle floating point NaN, Infinity and -Infinity

Open exyi opened this issue 3 years ago • 0 comments

There is a number of problems with these special values:

  • [ ] They are serialized as string in Newtonsoft.Json, we should add support to coercer for parsing NaN. Seems that it already support Infinity and -Infinity
  • [ ] The bigger problem is that in order to serialize them for transfer back to server we'd need to serialize them as strings from JS. Javascript serializes all 3 as null which is not super helpful...

exyi avatar May 26 '22 14:05 exyi