Skip to content

Commit 3a152f8

Browse files
authored
Update graphql-context-factory.md (#1279)
1 parent 125e59f commit 3a152f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/server/graphql-context-factory.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ However, if your custom factory may return `null`, you must define the context a
2929
data class CustomContext(val value: String) : GraphQLContext
3030

3131
class CustomFactory : GraphQLContextFactory<CustomContext, ServerRequest> {
32-
suspend fun generateContext(request: Request): Context? {
32+
override suspend fun generateContext(request: Request): Context? {
3333
if (isSpecialRequest(request)) {
3434
return null
3535
}

0 commit comments

Comments
 (0)