Как я могу получить значение, возвращенное из запроса, если оно у меня в следующей форме:
await weekDates.map(datee =>
this.props.client.query({
query:queryFetchAppEventsByDate,
name:'fetchAppEvents',
variables:{
incubatorId: this.currentUser.incubator._id,
userId: this.props.getCurrentUser.currentUser._id,
date:datee
}
})
);



![Безумие обратных вызовов в javascript [JS]](https://i.imgur.com/WsjO6zJb.png)


Если у вас есть массив обещаний, вы должны использовать Promise.all для получения результатов или выполнить цикл for и использовать await.
Следующее должно работать
Promise.all(
weekDates.map(date =>
this.props.client.query({//assuming query returns a promise
query: queryFetchAppEventsByDate,
name: 'fetchAppEvents',
variables: {
incubatorId: this.currentUser.incubator._id,
userId: this.props.getCurrentUser.currentUser._id,
date: date
}
})
)
).then(
results=>console.info("results:",results)
).catch(
error=console.info("something went wrong:",error)
);