I’m using Phoenix along with absinthe to build a graphql api.
{
survey(year: 2019) {
id
sections {
questions{
question {
title
}
answers {
value
}
}
}
}
}
At some point, to resolve answers
, I need to access survey
obj, to get the id. I can easily access to the parent, but in this case I need to go higher. Is there an easy way to do it?
Thanks in advance