How to use stored procedure in GraphQL using HotChocolate

How to use stored procedure in GraphQL using HotChocolate


0

I am currently working on a legacy application which is built on the .NET framework and uses a MySQL database. We are migrating the application to GraphQL and .NET Core. We need to use the existing stored procedures. Because, the useridDB-role is passed to the stored procedure to filter the data at the database level.

I have created a POC using Entity Framework for the GraphQL using hotchocolate. Since, I’m new to GraphQL and I don’t know how to pass useridDB-role along with the request or in resolvers, I am planning to use stored procedure method. Hence, need help on that topic.

New contributor

user2194565 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


Load 5 more related questions


Show fewer related questions

0



Leave a Reply

Your email address will not be published. Required fields are marked *