Skip to content

Commit 73380e3

Browse files
Fix minor typos in MarkDown
1 parent 2cf3dbf commit 73380e3

File tree

15 files changed

+19
-19
lines changed

15 files changed

+19
-19
lines changed

content/documentation/master/sdl-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ We now need to wire in the code that can handle any field with this ``@auth`` di
128128
{{< / highlight >}}
129129

130130
This has modified the ``GraphQLFieldDefinition`` so that its original data fetcher will ONLY be called if the current authorisation context
131-
has the ``manager`` role. Exactly what mechanisms you use for authorisation is up to you. You could use Spring Security for example say, graphql-java doesnt
131+
has the ``manager`` role. Exactly what mechanisms you use for authorisation is up to you. You could use Spring Security for example say, graphql-java doesn't
132132
really care.
133133

134134
You would provide this authorisation checker into the execution "context" object of the graphql input so it can then be accessed later in the

content/documentation/v10/batching.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Here is how you might put this in place:
9999
@Override
100100
public CompletionStage<List<Object>> load(List<String> keys) {
101101
//
102-
// we use supplyAsync() of values here for maximum parellisation
102+
// we use supplyAsync() of values here for maximum parallelisation
103103
//
104104
return CompletableFuture.supplyAsync(() -> getCharacterDataViaBatchHTTPApi(keys));
105105
}
@@ -137,7 +137,7 @@ Here is how you might put this in place:
137137

138138
//
139139
// this instrumentation implementation will dispatch all the dataloaders
140-
// as each level fo the graphql query is executed and hence make batched objects
140+
// as each level for the graphql query is executed and hence make batched objects
141141
// available to the query and the associated DataFetchers
142142
//
143143
DataLoaderDispatcherInstrumentation dispatcherInstrumentation
@@ -155,7 +155,7 @@ Here is how you might put this in place:
155155
{{< / highlight >}}
156156

157157
One thing to note is the above only works if you use `DataLoaderDispatcherInstrumentation` which makes sure `dataLoader.dispatch()`
158-
is called. If this was not in place, then all the promises to data will never be dispatched ot the batch loader function
158+
is called. If this was not in place, then all the promises to data will never be dispatched to the batch loader function
159159
and hence nothing would ever resolve.
160160

161161
## Data Loader only works with AsyncExecutionStrategy

content/documentation/v10/sdl-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ We now need to wire in the code that can handle any field with this ``@auth`` di
124124
{{< / highlight >}}
125125

126126
This has modified the ``GraphQLFieldDefinition`` so that its original data fetcher will ONLY be called if the current authorisation context
127-
has the ``manager`` role. Exactly what mechanisms you use for authorisation is up to you. You could use Spring Security for example say, graphql-java doesnt
127+
has the ``manager`` role. Exactly what mechanisms you use for authorisation is up to you. You could use Spring Security for example say, graphql-java doesn't
128128
really care.
129129

130130
You would provide this authorisation checker into the execution "context" object of the graphql input so it can then be accessed later in the

content/documentation/v11/batching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Here is how you might put this in place:
101101
@Override
102102
public CompletionStage<List<Object>> load(List<String> keys) {
103103
//
104-
// we use supplyAsync() of values here for maximum parellisation
104+
// we use supplyAsync() of values here for maximum parallelisation
105105
//
106106
return CompletableFuture.supplyAsync(() -> getCharacterDataViaBatchHTTPApi(keys));
107107
}

content/documentation/v11/sdl-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ We now need to wire in the code that can handle any field with this ``@auth`` di
124124
{{< / highlight >}}
125125

126126
This has modified the ``GraphQLFieldDefinition`` so that its original data fetcher will ONLY be called if the current authorisation context
127-
has the ``manager`` role. Exactly what mechanisms you use for authorisation is up to you. You could use Spring Security for example say, graphql-java doesnt
127+
has the ``manager`` role. Exactly what mechanisms you use for authorisation is up to you. You could use Spring Security for example say, graphql-java doesn't
128128
really care.
129129

130130
You would provide this authorisation checker into the execution "context" object of the graphql input so it can then be accessed later in the

content/documentation/v12/batching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Here is how you might put this in place:
102102
@Override
103103
public CompletionStage<List<Object>> load(List<String> keys) {
104104
//
105-
// we use supplyAsync() of values here for maximum parellisation
105+
// we use supplyAsync() of values here for maximum parallelisation
106106
//
107107
return CompletableFuture.supplyAsync(() -> getCharacterDataViaBatchHTTPApi(keys));
108108
}

content/documentation/v12/sdl-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ We now need to wire in the code that can handle any field with this ``@auth`` di
128128
{{< / highlight >}}
129129

130130
This has modified the ``GraphQLFieldDefinition`` so that its original data fetcher will ONLY be called if the current authorisation context
131-
has the ``manager`` role. Exactly what mechanisms you use for authorisation is up to you. You could use Spring Security for example say, graphql-java doesnt
131+
has the ``manager`` role. Exactly what mechanisms you use for authorisation is up to you. You could use Spring Security for example say, graphql-java doesn't
132132
really care.
133133

134134
You would provide this authorisation checker into the execution "context" object of the graphql input so it can then be accessed later in the

content/documentation/v13/batching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Here is how you might put this in place:
102102
@Override
103103
public CompletionStage<List<Object>> load(List<String> keys) {
104104
//
105-
// we use supplyAsync() of values here for maximum parellisation
105+
// we use supplyAsync() of values here for maximum parallelisation
106106
//
107107
return CompletableFuture.supplyAsync(() -> getCharacterDataViaBatchHTTPApi(keys));
108108
}

content/documentation/v13/sdl-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ We now need to wire in the code that can handle any field with this ``@auth`` di
128128
{{< / highlight >}}
129129

130130
This has modified the ``GraphQLFieldDefinition`` so that its original data fetcher will ONLY be called if the current authorisation context
131-
has the ``manager`` role. Exactly what mechanisms you use for authorisation is up to you. You could use Spring Security for example say, graphql-java doesnt
131+
has the ``manager`` role. Exactly what mechanisms you use for authorisation is up to you. You could use Spring Security for example say, graphql-java doesn't
132132
really care.
133133

134134
You would provide this authorisation checker into the execution "context" object of the graphql input so it can then be accessed later in the

content/documentation/v14/batching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Here is how you might put this in place:
102102
@Override
103103
public CompletionStage<List<Object>> load(List<String> keys) {
104104
//
105-
// we use supplyAsync() of values here for maximum parellisation
105+
// we use supplyAsync() of values here for maximum parallelisation
106106
//
107107
return CompletableFuture.supplyAsync(() -> getCharacterDataViaBatchHTTPApi(keys));
108108
}

0 commit comments

Comments
 (0)