Relative Content

Tag Archive for c#graphqlfilteringhotchocolatedataloader

GraphQL filtering on nested object retrieved from database (using Dataloaders?)

I have an SQL Database that I access via EntityFramework (C#). I want to expose the objects via a GraphQL API using the Hot Choclate framework. They are to be exposed pretty much without any changes.
The problematic part is that I want to make queries while Filtering on the properties of entities in another table.
From what I understand this is not possible if the relations are resolved by Dataloaders. Without Dataloaders, however, we’re running straight into the n+1 problem.

GraphQL filtering on nested object retrieved from database (using Dataloaders?)

I have an SQL Database that I access via EntityFramework (C#). I want to expose the objects via a GraphQL API using the Hot Choclate framework. They are to be exposed pretty much without any changes.
The problematic part is that I want to make queries while Filtering on the properties of entities in another table.
From what I understand this is not possible if the relations are resolved by Dataloaders. Without Dataloaders, however, we’re running straight into the n+1 problem.