Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionstrictMode default value changed to true, use
RuntimeWiring.Builder.strictMode(boolean)insteaduseTypeRuntimeWiring.Builder.strictMode(boolean)instead
-
Deprecated ClassesClassDescriptionuse
SimplePerformantInstrumentationinstead as a base class.This class will go away at some point in the future since its pointless wrapper of aGraphQLFieldDefinitionThis is no longer the best way to prevent Introspection -Introspection.enabledJvmWide(boolean)can be used instead
-
Deprecated Fields
-
Deprecated MethodsMethodDescriptiongraphql.collect.ImmutableMapWithNullValues.compute
(K, BiFunction<? super K, ? super V, ? extends V>) graphql.collect.ImmutableMapWithNullValues.replaceAll(BiFunction<? super K, ? super V, ? extends V>) - use theQueryAppliedDirectivemethods instead- use theQueryAppliedDirectivemethods instead- use theQueryAppliedDirectivemethods insteaduseExecutionContext.getGraphQLContext()insteaduseTypeResolutionParameters.getGraphQLContext()instead- theExecutionInput.getGraphQLContext()is a fixed mutable instance nowThis method will go away at some point andDataFetcherFactory.get(GraphQLFieldDefinition)will be used- useDataFetchingEnvironment.getGraphQlContext()insteaduseGraphQLAppliedDirectiveArgumentmethods insteaduseGraphQLAppliedDirectiveArgumentmethods insteaduseGraphQLAppliedDirectiveArgumentmethods insteaduseGraphQLAppliedDirectiveArgumentinsteaduseGraphQLAppliedDirectiveArgumentinstead- use theGraphQLAppliedDirectivemethods instead- use theGraphQLAppliedDirectivemethods instead- use theGraphQLAppliedDirectivemethods instead- use theGraphQLAppliedDirectivemethods instead- use theGraphQLAppliedDirectivemethods instead- use theGraphQLAppliedDirectivemethods instead- use theGraphQLAppliedDirectivemethods instead- use theGraphQLAppliedDirectivemethods instead- use theGraphQLAppliedDirectivemethods insteadThis is a badly named method and is replaced byGraphQLFieldDefinition.Builder.arguments(java.util.List)useGraphQLCodeRegistryinsteaduseGraphQLCodeRegistryinsteaduseGraphQLCodeRegistryinsteadUse theGraphQLAppliedDirectivemethods insteadUse theGraphQLAppliedDirectivemethods insteadUse theGraphQLAppliedDirectivemethods insteadUse theGraphQLAppliedDirectivemethods insteadUse theGraphQLAppliedDirectivemethods insteadstrictMode default value changed to true, useRuntimeWiring.Builder.strictMode(boolean)insteaduse theTypeDefinitionRegistry.getTypeOrNull(Type)variants instead since they avoid the allocation of an optional objectuse theTypeDefinitionRegistry.getTypeOrNull(Type)variants instead since they avoid the allocation of an optional objectuse theTypeDefinitionRegistry.getTypeOrNull(Type)variants instead since they avoid the allocation of an optional objectuse theTypeDefinitionRegistry.getTypeOrNull(Type)variants instead since they avoid the allocation of an optional objectuseTypeRuntimeWiring.Builder.strictMode(boolean)insteaduseTypeResolutionEnvironment.getGraphQLContext()instead