eventuate-clients / eventuate-client-nodejs

Other
4 stars 3 forks source link

Why does parseJSON return a Promise? #33

Closed cer closed 8 years ago

cer commented 8 years ago

Doesn't seem appropriate for a low-level function like this.

dartvandru commented 8 years ago

I got rid of the parseJSON() function. Doing JSON.parse inside the _request() function instead. Resolved with: https://github.com/eventuateinc/eventuate-nodejs-client/pull/35