Hi @DudaNogueira ,
But in v2 you can just use
await client.graphql
.get()
.withClassName('Article')
.withAsk({
question: 'Who is the king of the Netherlands?',
properties: ['summary'],
})
Without running the raw query. Is this functionality planned for v3?
Because otherwise you’ll have to write a pretty complex wrapper around client.graphql.raw()
by yourself if you need e.g. filters and additional params in the query (along with ask
).