graphql mesh execute query programatically

201 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 best solutions below

0
On

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