Closed ageorgios closed 8 years ago
Inner requests are not resolved when applied on list of items
node --version = v4.4.0 npm --version = 2.14.20
x('url', 'list', [{ title: 'selector', info: x('a@href', { book: 'selector' }), href: 'a@href' }])
For each item in the list to return the book from the new request.
Returns empty info {}, even thought the inner xray request works when run seperately and a@href has the right value.
from DEBUG=x-ray The function returns before the subrequests return giving an undefined result.
Seems to be the same as #111, I got nested requests working again by rolling back to 2.0.3
Yes, is the same :_(
Subject of the issue
Inner requests are not resolved when applied on list of items
Your environment
node --version = v4.4.0 npm --version = 2.14.20
Steps to reproduce
Expected behaviour
For each item in the list to return the book from the new request.
Actual behaviour
Returns empty info {}, even thought the inner xray request works when run seperately and a@href has the right value.
from DEBUG=x-ray The function returns before the subrequests return giving an undefined result.