You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2665238
Browse filesBrowse the repository at this point in the historyBrowse files
Read CoroutineScope from GraphQLContext, deprecate context object
- Look up CoroutineScope by its class key in GraphQLContext before falling back
- Log a deprecation warning when the legacy context object supplies the scope
- Deprecate the legacy directive getters on SchemaDirectiveWiringEnvironmentImpl
- Suppress DEPRECATION warnings at the remaining legacy call sites
- Add tests for scopes from GraphQLContext and from the legacy context
- Add @ConsistentCopyVisibility to SchemaParserOptions
- Remove UtilsTest, which had no test methods
Copy file name to clipboardExpand all lines: src/main/kotlin/graphql/kickstart/tools/directive/DirectiveWiringHelper.kt
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,8 @@ internal class DirectiveWiringHelper(
96
96
return checkNotNull(wrapper.invoker(wiring, env)) { "The SchemaDirectiveWiring MUST return a non null return value for element '${wrapper.graphQlType.name}'" }
97
97
}
98
98
99
+
// the legacy directives still back the deprecated getters of SchemaDirectiveWiringEnvironment
0 commit comments