ASP.NET Core API with GraphQL request using HotChocolate in itself

Viewed 28

In my ASP NET Core 6 api, we make a query with a query (SQL) using Dapper, typing a model and with the result return in some endpoint or use in some service, for example, a service that generates a PDF report and returns in a File on endpoint

In the case of the query to retrieve the data needed to generate the PDF, how would I do it using GraphQL installed in the application (HotChocolate)?

In short, how to use GraphQL from the application to the application itself?

0 Answers
Related