-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
backendBackend workBackend workenhancementNew feature or requestNew feature or requestgraphqlGraphQL workGraphQL workpriority: medium
Milestone
Description
Add dataloaders to our GraphQL resolvers to improve batching and performance, especially for fields that repeatedly load users or recipes in loops.
Start with the resolvers defined in:
Good candidates include fields that resolve related users, recipes, revisions, ingredients, and steps, as seen in the GraphQL schema files:
Prioritize places where N+1 queries are likely, such as:
Recipe.authorRecipeRevision.recipeRecipeRevision.ingredientsRecipeRevision.stepsUser.recipes
See gqlgen dataloader docs: https://gqlgen.com/reference/dataloaders/
Metadata
Metadata
Assignees
Labels
backendBackend workBackend workenhancementNew feature or requestNew feature or requestgraphqlGraphQL workGraphQL workpriority: medium
Type
Projects
Status
Backlog