File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/main/kotlin/graphql/kickstart/tools/resolver Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -104,9 +104,12 @@ internal class MethodFieldResolver(
104
104
if (context != null ) {
105
105
context
106
106
} else {
107
- log.warn(" Generic context class has been deprecated by graphql-java. " +
108
- " To continue using a custom context class as the last parameter in resolver methods " +
109
- " please insert it into the new GraphQLContext class when building the ExecutionInput." )
107
+ log.warn(
108
+ " Generic context class has been deprecated by graphql-java. " +
109
+ " To continue using a custom context class as the last parameter in resolver methods " +
110
+ " please insert it into the GraphQLContext map when building the ExecutionInput. " +
111
+ " This warning will become an error in the future."
112
+ )
110
113
environment.getContext() // TODO: remove deprecated use in next major release
111
114
}
112
115
}
You can’t perform that action at this time.
0 commit comments