Skip navigation links
Spring for GraphQL
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.graphql.data.GraphQlArgumentBinder.addDataBinderInitializer(Consumer<DataBinder>)
    this property is deprecated, ignored, and should not be necessary as a DataBinder is no longer used to bind arguments
    org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer.setDataBinderInitializer(Consumer<DataBinder>)
    this property is deprecated, ignored, and should not be necessary as a DataBinder is no longer used to bind arguments
    org.springframework.graphql.observation.ExecutionRequestObservationContext.getCarrier()
    since 1.1.4 in favor of ExecutionRequestObservationContext.getExecutionInput()
    org.springframework.graphql.observation.ExecutionRequestObservationContext.getResponse()
    since 1.1.4 in favor of ExecutionRequestObservationContext.getExecutionResult()
    org.springframework.graphql.observation.PropagationWebGraphQlInterceptor
    since 1.1.4 with no replacement.
  • Deprecated Classes
    Class
    Description
    org.springframework.graphql.observation.PropagationWebGraphQlInterceptor
    since 1.1.4 with no replacement.
  • Deprecated Methods
    Method
    Description
    org.springframework.graphql.data.GraphQlArgumentBinder.addDataBinderInitializer(Consumer<DataBinder>)
    this property is deprecated, ignored, and should not be necessary as a DataBinder is no longer used to bind arguments
    org.springframework.graphql.data.method.annotation.support.AnnotatedControllerConfigurer.setDataBinderInitializer(Consumer<DataBinder>)
    this property is deprecated, ignored, and should not be necessary as a DataBinder is no longer used to bind arguments
    org.springframework.graphql.data.query.QueryByExampleDataFetcher.autoRegistrationTypeVisitor(List<QueryByExampleExecutor<?>>, List<ReactiveQueryByExampleExecutor<?>>)
    in favor of QueryByExampleDataFetcher.autoRegistrationConfigurer(List, List)
    org.springframework.graphql.data.query.QuerydslDataFetcher.autoRegistrationTypeVisitor(List<QuerydslPredicateExecutor<?>>, List<ReactiveQuerydslPredicateExecutor<?>>)
    in favor of QuerydslDataFetcher.autoRegistrationConfigurer(List, List)
    org.springframework.graphql.execution.DataFetcherExceptionResolverAdapter.from(BiFunction<Throwable, DataFetchingEnvironment, GraphQLError>)
    as of 1.0.1, please use DataFetcherExceptionResolver.forSingleError(BiFunction)
    org.springframework.graphql.observation.ExecutionRequestObservationContext.getCarrier()
    since 1.1.4 in favor of ExecutionRequestObservationContext.getExecutionInput()
    org.springframework.graphql.observation.ExecutionRequestObservationContext.getResponse()
    since 1.1.4 in favor of ExecutionRequestObservationContext.getExecutionResult()
    org.springframework.graphql.ResponseField.getError()
    since 1.0.3 in favor of ResponseField.getErrors()
    org.springframework.graphql.ResponseField.hasValue()
    as of 1.0.3 in favor of checking via ResponseField.getValue()
    org.springframework.graphql.server.webmvc.GraphQlWebSocketHandler.asWebSocketHttpRequestHandler(HandshakeHandler)
    as of 1.1.0 in favor of GraphQlWebSocketHandler.initWebSocketHttpRequestHandler(HandshakeHandler)
  • Deprecated Constructors
    Constructor
    Description
    org.springframework.graphql.server.WebGraphQlRequest(URI, HttpHeaders, Map<String, Object>, String, Locale)
    as of 1.1.3 in favor of the constructor with cookies
    org.springframework.graphql.server.WebSocketGraphQlRequest(URI, HttpHeaders, Map<String, Object>, String, Locale, WebSocketSessionInfo)
    as of 1.1.3 in favor of the constructor with cookies