Interface TypeVisitorHelper
public interface TypeVisitorHelper
Helper for
GraphQLTypeVisitors registered via
GraphQlSource.Builder.typeVisitors(List) that is exposed as a
variable in TraverserContext.- Since:
- 1.2.1
- Author:
- Rossen Stoyanchev
-
Method Summary
Modifier and TypeMethodDescriptionstatic TypeVisitorHelpercreate(GraphQLSchema schema) Create an instance with the givenGraphQLSchema.booleanWhether the given type is the subscription type.
-
Method Details
-
isSubscriptionType
Whether the given type is the subscription type.- Parameters:
type- the GraphQL type to check
-
create
Create an instance with the givenGraphQLSchema.- Parameters:
schema- the GraphQL schema to use
-