Skip to content

Commit ea720f9

Browse files
committed
typos and spillin
1 parent 4bdaea1 commit ea720f9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

content/documentation/master/batching.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Here is how you might put this in place:
9696

9797
//
9898
// a batch loader function that will be called with N or more keys for batch loading
99-
// This can be a singleton object since its stateless
99+
// This can be a singleton object since it's stateless
100100
//
101101
BatchLoader<String, Object> characterBatchLoader = new BatchLoader<String, Object>() {
102102
@Override
@@ -133,10 +133,12 @@ Here is how you might put this in place:
133133

134134

135135
//
136-
// this instrumentation implementation will dispatched all the data loaders
137-
// as each level fo the graphql query is executed and hence make batched objects
136+
// this instrumentation implementation will dispatch all the data loaders
137+
// as each level of the graphql query is executed and hence make batched objects
138138
// available to the query and the associated DataFetchers
139139
//
140+
// In this case we use options to make it keep statistics on the batching efficiency
141+
//
140142
DataLoaderDispatcherInstrumentationOptions options = DataLoaderDispatcherInstrumentationOptions
141143
.newOptions().includeStatistics(true);
142144

0 commit comments

Comments
 (0)