DebuggableInterceptorProvider
public class DebuggableInterceptorProvider : InterceptorProvider
DebuggableInterceptorProvider
wraps another interceptor and provides interceptors configured for ApolloDeveloperKit
.
DebuggableInterceptorProvider
prepends DebugInitializeInterceptor
at first, then appends DebuggableResultTranslateInterceptor
at last only when the operation comes from ApolloDeveloperKit
.
-
Undocumented
Declaration
Swift
public init(_ interceptorProvider: InterceptorProvider)
-
Declaration
Swift
public func interceptors<Operation>(for operation: Operation) -> [ApolloInterceptor] where Operation : GraphQLOperation
-
Declaration
Swift
public func additionalErrorInterceptor<Operation>(for operation: Operation) -> ApolloErrorInterceptor? where Operation : GraphQLOperation