Softhouse / xyz

Repo for collecting issues/user stories related to XYZ
0 stars 0 forks source link

modify the response parser in xyz-cv-api #99

Closed letterix closed 9 years ago

letterix commented 9 years ago

i want to change the flow of our response parser due som new issues we have encountered which breaks the consistency in the module currently.

right now we are calling as follows in the dao for a GET request:

request(options) .then(parseResponse) .then(parseGet) .then(parseQuery)

i want to change this to the following:

request(options) .then(parseGet)

in this case, the response handler would then handle the individual query and response parse calls.