From 3135e24671ff62cc9f0df7b90c5098909a5922b5 Mon Sep 17 00:00:00 2001 From: Ben Hicks Date: Fri, 15 Jul 2022 16:59:01 -0600 Subject: [PATCH] Update documentation Removing extra _the_ --- guides/dataloader/sources.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/dataloader/sources.md b/guides/dataloader/sources.md index 0952b63162..69093918b9 100644 --- a/guides/dataloader/sources.md +++ b/guides/dataloader/sources.md @@ -21,7 +21,7 @@ Sources will receive two kinds of inputs from `GraphQL::Dataloader`: Under the hood, each Source instance maintains a `key => object` cache. -- _batch parameters_, which are the basis of batched groups. For example, if you're loading records from different database tables, the the table name would be a batch parameter. +- _batch parameters_, which are the basis of batched groups. For example, if you're loading records from different database tables, the table name would be a batch parameter. Batch parameters are given to `dataloader.with(source_class, *batch_parameters)`, and the default is _no batch parameters_. When you define a source, you should add the batch parameters to `def initialize(...)` and store them in instance variables.