Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionThis mechanism can be achieved in a better way via
SchemaTransformer
after the schema is built
-
Deprecated ClassesClassDescriptionuse
SimplePerformantInstrumentation
instead 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 theQueryAppliedDirective
methods instead- use theQueryAppliedDirective
methods instead- use theQueryAppliedDirective
methods 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()
insteaduseGraphQLAppliedDirectiveArgument
methods insteaduseGraphQLAppliedDirectiveArgument
methods insteaduseGraphQLAppliedDirectiveArgument
methods insteaduseGraphQLAppliedDirectiveArgument
insteaduseGraphQLAppliedDirectiveArgument
insteadThis is confusing becauseGraphQLInterfaceType
s cant have data fetchers. At runtime only aGraphQLObjectType
can 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 becauseGraphQLInterfaceType
s cant have data fetchers. At runtime only aGraphQLObjectType
can 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 becauseGraphQLInterfaceType
s cant have data fetchers. At runtime only aGraphQLObjectType
can 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 theGraphQLAppliedDirective
methods instead- use theGraphQLAppliedDirective
methods instead- use theGraphQLAppliedDirective
methods instead- use theGraphQLAppliedDirective
methods instead- use theGraphQLAppliedDirective
methods instead- use theGraphQLAppliedDirective
methods instead- use theGraphQLAppliedDirective
methods instead- use theGraphQLAppliedDirective
methods instead- use theGraphQLAppliedDirective
methods insteadThis is a badly named method and is replaced byGraphQLFieldDefinition.Builder.arguments(java.util.List)
useGraphQLCodeRegistry
insteaduseGraphQLCodeRegistry
insteaduseGraphQLCodeRegistry
instead- Use theGraphQLSchema.Builder.additionalType(GraphQLType)
methodsUse theGraphQLAppliedDirective
methods insteaduseGraphQLCodeRegistry.getFieldVisibility()
insteadUse theGraphQLAppliedDirective
methods insteadUse theGraphQLAppliedDirective
methods insteadUse theGraphQLAppliedDirective
methods insteadUse theGraphQLAppliedDirective
methods insteadThis mechanism can be achieved in a better way viaSchemaTransformer
after the schema is builtuseTypeResolutionEnvironment.getGraphQLContext()
instead
-
Deprecated Constructors