Uses of Interface
graphql.language.TypeDefinition
Packages that use TypeDefinition
Package
Description
-
Uses of TypeDefinition in graphql.introspection
Methods in graphql.introspection that return TypeDefinitionModifier and TypeMethodDescriptionprivate TypeDefinition
IntrospectionResultToSchema.createScalar
(Map<String, Object> input) private TypeDefinition
IntrospectionResultToSchema.createTypeDefinition
(Map<String, Object> type) -
Uses of TypeDefinition in graphql.language
Classes in graphql.language with type parameters of type TypeDefinitionModifier and TypeInterfaceDescriptioninterface
ImplementingTypeDefinition<T extends TypeDefinition>
ATypeDefinition
that might implement interfacesinterface
TypeDefinition<T extends TypeDefinition>
An interface for type definitions in a Schema Definition Language (SDL).Subinterfaces of TypeDefinition in graphql.languageModifier and TypeInterfaceDescriptioninterface
ImplementingTypeDefinition<T extends TypeDefinition>
ATypeDefinition
that might implement interfacesClasses in graphql.language that implement TypeDefinitionModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
Methods in graphql.language with parameters of type TypeDefinitionModifier and TypeMethodDescriptionstatic TypeKind
TypeKind.getTypeKind
(TypeDefinition def) protected TraversalControl
NodeVisitorStub.visitTypeDefinition
(TypeDefinition<?> node, TraverserContext<Node> context) -
Uses of TypeDefinition in graphql.parser
Methods in graphql.parser that return TypeDefinitionModifier and TypeMethodDescriptionprotected TypeDefinition
GraphqlAntlrToLanguage.createTypeDefinition
(GraphqlParser.TypeDefinitionContext ctx) protected TypeDefinition
GraphqlAntlrToLanguage.createTypeExtension
(GraphqlParser.TypeExtensionContext ctx) -
Uses of TypeDefinition in graphql.schema.diff
Methods in graphql.schema.diff with type parameters of type TypeDefinitionModifier and TypeMethodDescription(package private) <T extends TypeDefinition>
Optional<T> DiffCtx.getNewTypeDef
(Type type, Class<T> typeDefClass) (package private) <T extends TypeDefinition>
Optional<T> DiffCtx.getOldTypeDef
(Type type, Class<T> typeDefClass) private <T extends TypeDefinition>
Optional<T> Methods in graphql.schema.diff with parameters of type TypeDefinitionModifier and TypeMethodDescriptionprivate void
SchemaDiff.checkDirectives
(DiffCtx ctx, TypeDefinition oldDef, TypeDefinition newDef) (package private) void
SchemaDiff.checkDirectives
(DiffCtx ctx, TypeDefinition old, List<Directive> oldDirectives, List<Directive> newDirectives) private void
SchemaDiff.checkField
(DiffCtx ctx, TypeDefinition old, FieldDefinition oldField, FieldDefinition newField) private void
SchemaDiff.checkFieldAdditions
(DiffCtx ctx, TypeDefinition newDef, Map<String, FieldDefinition> oldFields, Map<String, FieldDefinition> newFields) private void
SchemaDiff.checkFieldArg
(DiffCtx ctx, TypeDefinition oldDef, FieldDefinition oldField, InputValueDefinition oldArg, InputValueDefinition newArg) private void
SchemaDiff.checkFieldArguments
(DiffCtx ctx, TypeDefinition oldDef, FieldDefinition oldField, List<InputValueDefinition> oldInputValueDefinitions, List<InputValueDefinition> newInputValueDefinitions) private void
SchemaDiff.checkFieldRemovals
(DiffCtx ctx, TypeDefinition oldDef, Map<String, FieldDefinition> oldFields, Map<String, FieldDefinition> newFields) private void
SchemaDiff.checkFields
(DiffCtx ctx, TypeDefinition oldDef, Map<String, FieldDefinition> oldFields, TypeDefinition newDef, Map<String, FieldDefinition> newFields) private void
SchemaDiff.checkInputFields
(DiffCtx ctx, TypeDefinition old, List<InputValueDefinition> oldIVD, List<InputValueDefinition> newIVD) -
Uses of TypeDefinition in graphql.schema.idl
Fields in graphql.schema.idl declared as TypeDefinitionFields in graphql.schema.idl with type parameters of type TypeDefinitionModifier and TypeFieldDescriptionprivate final Map
<String, TypeDefinition> TypeDefinitionRegistry.types
Methods in graphql.schema.idl with type parameters of type TypeDefinitionModifier and TypeMethodDescriptionprivate <T extends TypeDefinition>
Optional<GraphQLError> private <T extends TypeDefinition>
Optional<GraphQLError> TypeDefinitionRegistry.defineExt
(Map<String, List<T>> typeExtensions, T newEntry, Function<T, String> namerFunc) private <T extends TypeDefinition>
List<T> SchemaTypeChecker.filterTo
(Map<String, TypeDefinition> types, Class<? extends T> clazz) <T extends TypeDefinition>
Optional<T> <T extends TypeDefinition>
Optional<T> <T extends TypeDefinition>
List<T> Returns a list of types in the registry of that specified class<T extends TypeDefinition>
Map<String, T> TypeDefinitionRegistry.getTypesMap
(Class<T> targetClass) Returns a map of types in the registry of that specified class keyed by nameMethods in graphql.schema.idl that return TypeDefinitionModifier and TypeMethodDescriptionprivate TypeDefinition
SchemaTypeDirectivesChecker.findTypeDefFromRegistry
(String typeName, TypeDefinitionRegistry typeRegistry) FieldWiringEnvironment.getParentType()
(package private) TypeDefinition
<?> SchemaGeneratorHelper.BuildContext.getTypeDefinition
(Type<?> type) Methods in graphql.schema.idl that return types with arguments of type TypeDefinitionMethods in graphql.schema.idl with parameters of type TypeDefinitionModifier and TypeMethodDescriptionprivate DataFetcherFactory
<?> SchemaGeneratorHelper.buildDataFetcherFactory
(SchemaGeneratorHelper.BuildContext buildCtx, TypeDefinition<?> parentType, FieldDefinition fieldDef, GraphQLOutputType fieldType, List<GraphQLDirective> directives, List<GraphQLAppliedDirective> appliedDirectives) (package private) GraphQLFieldDefinition
SchemaGeneratorHelper.buildField
(SchemaGeneratorHelper.BuildContext buildCtx, TypeDefinition<?> parentType, FieldDefinition fieldDef) private void
SchemaTypeDirectivesChecker.checkDirectives
(Introspection.DirectiveLocation expectedLocation, List<GraphQLError> errors, TypeDefinition<?> typeDef) private void
SchemaTypeChecker.checkFieldTypesPresent
(TypeDefinitionRegistry typeRegistry, List<GraphQLError> errors, TypeDefinition typeDefinition, List<FieldDefinition> fields) private void
SchemaTypeExtensionsChecker.checkForEnumValueRedefinition
(List<GraphQLError> errors, TypeDefinition typeDefinition, List<EnumValueDefinition> enumValueDefinitions, List<EnumValueDefinition> referenceEnumValueDefinitions) private void
SchemaTypeExtensionsChecker.checkForFieldRedefinition
(List<GraphQLError> errors, TypeDefinition typeDefinition, List<FieldDefinition> fieldDefinitions, List<FieldDefinition> referenceFieldDefinitions) SchemaTypeChecker.checkInterfaceTypeExists
(TypeDefinitionRegistry typeRegistry, List<GraphQLError> errors, TypeDefinition typeDefinition) SchemaTypeChecker.checkTypeExists
(String typeOfType, TypeDefinitionRegistry typeRegistry, List<GraphQLError> errors, TypeDefinition typeDefinition) private GraphQLError
TypeDefinitionRegistry.handleReDefinition
(TypeDefinition oldEntry, TypeDefinition newEntry) (package private) GraphQLInputType
SchemaGeneratorHelper.BuildContext.hasInputType
(TypeDefinition<?> typeDefinition) (package private) GraphQLOutputType
SchemaGeneratorHelper.BuildContext.hasOutputType
(TypeDefinition<?> typeDefinition) private void
SchemaPrinter.printAsAst
(PrintWriter out, TypeDefinition<?> definition, List<? extends TypeDefinition<?>> extensions) This will print out a runtime graphql schema element using its contained AST type definition.private void
TypeDefinitionRegistry.removeFromList
(Map source, TypeDefinition value) private boolean
SchemaPrinter.shouldPrintAsAst
(TypeDefinition<?> definition) This will return true if the options say to use the AST and we have an AST elementMethod parameters in graphql.schema.idl with type arguments of type TypeDefinitionModifier and TypeMethodDescriptionprivate void
SchemaTypeExtensionsChecker.checkTypeExtensionHasCorrespondingType
(List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, String name, List<? extends TypeDefinition> extTypeList, Class<? extends TypeDefinition> targetClass) SchemaGeneratorHelper.directivesOf
(List<? extends TypeDefinition<?>> typeDefinitions) private <T extends TypeDefinition>
List<T> SchemaTypeChecker.filterTo
(Map<String, TypeDefinition> types, Class<? extends T> clazz) private void
SchemaPrinter.printAsAst
(PrintWriter out, TypeDefinition<?> definition, List<? extends TypeDefinition<?>> extensions) This will print out a runtime graphql schema element using its contained AST type definition.Constructors in graphql.schema.idl with parameters of type TypeDefinitionModifierConstructorDescription(package private)
FieldWiringEnvironment
(TypeDefinitionRegistry registry, TypeDefinition parentType, FieldDefinition fieldDefinition, GraphQLOutputType fieldType, List<GraphQLDirective> directives, List<GraphQLAppliedDirective> appliedDirectives) -
Uses of TypeDefinition in graphql.schema.idl.errors
Methods in graphql.schema.idl.errors with parameters of type TypeDefinitionModifier and TypeMethodDescriptionprivate static String
TypeExtensionFieldRedefinitionError.formatMessage
(TypeDefinition typeDefinition, String fieldName, AbstractNode<?> fieldDefinition) Constructors in graphql.schema.idl.errors with parameters of type TypeDefinitionModifierConstructorDescriptionMissingInterfaceTypeError
(String typeOfType, TypeDefinition typeDefinition, TypeName typeName) MissingTypeError
(String typeOfType, TypeDefinition typeDefinition, TypeName typeName) MissingTypeResolverError
(TypeDefinition typeDefinition) NonUniqueArgumentError
(TypeDefinition typeDefinition, EnumValueDefinition enumValueDefinition, String argumentName) NonUniqueArgumentError
(TypeDefinition typeDefinition, FieldDefinition fieldDefinition, String argumentName) NonUniqueArgumentError
(TypeDefinition typeDefinition, InputValueDefinition inputValueDefinition, String argumentName) NonUniqueDirectiveError
(TypeDefinition typeDefinition, EnumValueDefinition enumValueDefinition, String directiveName) NonUniqueDirectiveError
(TypeDefinition typeDefinition, FieldDefinition fieldDefinition, String directiveName) NonUniqueDirectiveError
(TypeDefinition typeDefinition, InputValueDefinition inputValueDefinition, String directiveName) NonUniqueNameError
(TypeDefinition typeDefinition, EnumValueDefinition enumValueDefinition) NonUniqueNameError
(TypeDefinition typeDefinition, FieldDefinition fieldDefinition) NonUniqueNameError
(TypeDefinition typeDefinition, InputValueDefinition inputValueDefinition) NotAnInputTypeError
(Type rawType, TypeDefinition typeDefinition) NotAnOutputTypeError
(Type rawType, TypeDefinition typeDefinition) TypeExtensionDirectiveRedefinitionError
(TypeDefinition typeExtensionDefinition, Directive directive) TypeExtensionEnumValueRedefinitionError
(TypeDefinition typeDefinition, EnumValueDefinition enumValueDefinition) TypeExtensionFieldRedefinitionError
(TypeDefinition typeDefinition, FieldDefinition fieldDefinition) TypeExtensionFieldRedefinitionError
(TypeDefinition typeDefinition, InputValueDefinition fieldDefinition) TypeExtensionMissingBaseTypeError
(TypeDefinition typeExtensionDefinition) TypeRedefinitionError
(TypeDefinition newEntry, TypeDefinition oldEntry)