Skip to content

Commit d0a160d

Browse files
committed
Problem: bound context provider was not used
Solution: use it
1 parent 791e505 commit d0a160d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/graphql/servlet/GraphQLServlet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public void unsetContextProvider(GraphQLContextBuilder contextBuilder) {
123123
}
124124

125125
protected GraphQLContext createContext(Optional<HttpServletRequest> req, Optional<HttpServletResponse> resp) {
126-
return new GraphQLContext(req, resp);
126+
return contextBuilder.build(req, resp);
127127
}
128128

129129
@Override @SneakyThrows

0 commit comments

Comments
 (0)