uber-node / tcurl

A command line utility to talk to tchannel servers
MIT License
36 stars 7 forks source link

Improve display of i64 values in responses #129

Closed jordanlibrande closed 8 years ago

jordanlibrande commented 8 years ago

Right now, i64 values in responses show up as indecipherable arrays, like [0,0,0,0,86,176,103,95]. They should appear as regular human-readable numbers instead.

jordanlibrande commented 8 years ago

Very likely related to https://github.com/uber/tcurl/issues/54

blampe commented 8 years ago

This is covered in more detail in thriftrw's README (here and here), but in short Node doesn't support i64s and to get around this you can add an annotation to the field like (js.type='date').