Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionThis mechanism can be achieved in a better way via
SchemaTransformerafter the schema is built
-
Deprecated ClassesClassDescriptionuse
SimplePerformantInstrumentationinstead as a base class.This 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()insteaduseExecutionContext.getCoercedVariables()insteaduseExecutionStepInfo.getObjectType()instead as it is named bettergraphql.execution.instrumentation.Instrumentation.beginExecution(InstrumentationExecutionParameters) state is now passed in direct to instrumentation methodsstate is now passed in direct to instrumentation methodsstate is now passed in direct to instrumentation methodsstate is now passed in direct to instrumentation methodsstate is now passed in direct to instrumentation methodsstate is now passed in direct to instrumentation methodsstate is now passed in direct to instrumentation methodsstate is now passed in direct to instrumentation methodsstate is now passed in direct to instrumentation methodsstate is now passed in direct to instrumentation methodsstate is now passed in direct to instrumentation methodsstate is now passed in direct to instrumentation methodsuseTypeResolutionParameters.getGraphQLContext()instead- theExecutionInput.getGraphQLContext()is a fixed mutable instance now- theExecutionInput.getGraphQLContext()is a fixed mutable instance now- theExecutionInput.getGraphQLContext()is a fixed mutable instance nowuse {#Parser.parse(ParserEnvironment)} insteaduse {#Parser.parse(ParserEnvironment)} insteaduse {#Parser.parse(ParserEnvironment)} instead- useDataFetchingEnvironment.getGraphQlContext()insteaduseGraphQLAppliedDirectiveArgumentmethods insteaduseGraphQLAppliedDirectiveArgumentmethods insteaduseGraphQLAppliedDirectiveArgumentmethods insteaduseGraphQLAppliedDirectiveArgumentinsteaduseGraphQLAppliedDirectiveArgumentinsteadThis is confusing becauseGraphQLInterfaceTypes cant have data fetchers. At runtime only aGraphQLObjectTypecan be used to fetch a field. This method allows the mapping to be made, but it is never useful if an interface is passed in.This is confusing becauseGraphQLInterfaceTypes cant have data fetchers. At runtime only aGraphQLObjectTypecan be used to fetch a field. This method allows the mapping to be made, but it is never useful if an interface is passed in.This is confusing becauseGraphQLInterfaceTypes cant have data fetchers. At runtime only aGraphQLObjectTypecan be used to fetch a field. This method allows the mapping to be made, but it is never useful if an interface is passed in.- 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)useGraphQLCodeRegistryinsteaduseGraphQLCodeRegistryinsteaduseGraphQLCodeRegistryinstead- Use theGraphQLSchema.Builder.additionalType(GraphQLType)methodsUse theGraphQLAppliedDirectivemethods insteaduseGraphQLCodeRegistry.getFieldVisibility()insteadUse theGraphQLAppliedDirectivemethods insteadUse theGraphQLAppliedDirectivemethods insteadUse theGraphQLAppliedDirectivemethods insteadUse theGraphQLAppliedDirectivemethods insteadThis mechanism can be achieved in a better way viaSchemaTransformerafter the schema is builtuseTypeResolutionEnvironment.getGraphQLContext()instead
-
Deprecated Constructors