graphql mesh execute query programatically

227 views Asked by At

I am using the graphql-mesh as gateway to connect and get data from some internal resources. I want to use this mesh query programatically so from other rest handler I can execute any query from my mesh gateway. Is there any way to do this

1

There are 1 answers

0
Gil Gardosh On

You can use Mesh's execute function, as shown here