Hello,
I’m using @nuxtjs/apollo and smart queries inside the component, I was wondering if there were a way to send all queries in the same POST request
here is a snipped of the component and how I’m specifying those queries
export default {
apollo: {
brand: {
prefetch: true,
query: brandQuery,
variables () {
return { id: this.$route.params.id }
}
},
latestProducts: {
prefetch: true,
query: productsQuery,
variables () {
return { first: 3 }
},
update (data) {
return this.$relaytransform.nodes(data.products)
}
}
}
}