- com.expedia.graphql - package com.expedia.graphql
-
- com.expedia.graphql.annotations - package com.expedia.graphql.annotations
-
- com.expedia.graphql.schema - package com.expedia.graphql.schema
-
- com.expedia.graphql.schema.exceptions - package com.expedia.graphql.schema.exceptions
-
- com.expedia.graphql.schema.extensions - package com.expedia.graphql.schema.extensions
-
- com.expedia.graphql.schema.generator.directive - package com.expedia.graphql.schema.generator.directive
-
- com.expedia.graphql.schema.hooks - package com.expedia.graphql.schema.hooks
-
- component1() - Method in class com.expedia.graphql.schema.Parameter
-
- component1() - Method in class com.expedia.graphql.schema.SchemaGeneratorConfig
-
- component1() - Method in class com.expedia.graphql.TopLevelObjectDef
-
The target object
- component2() - Method in class com.expedia.graphql.schema.Parameter
-
- component2() - Method in class com.expedia.graphql.schema.SchemaGeneratorConfig
-
- component2() - Method in class com.expedia.graphql.TopLevelObjectDef
-
Optional class of the target
- component3() - Method in class com.expedia.graphql.schema.SchemaGeneratorConfig
-
- component4() - Method in class com.expedia.graphql.schema.SchemaGeneratorConfig
-
- component5() - Method in class com.expedia.graphql.schema.SchemaGeneratorConfig
-
- ConflictingTypesException - Exception in com.expedia.graphql.schema.exceptions
-
Thrown when the schema being generated has two classes with the same GraphQLType name,
but they are not the same Kotlin class. We can not have the full package or classpath info
in the GraphQLType so all names must be unique.
- ConflictingTypesException(kClass1, kClass2) - Constructor for exception com.expedia.graphql.schema.exceptions.ConflictingTypesException
-
Thrown when the schema being generated has two classes with the same GraphQLType name,
but they are not the same Kotlin class. We can not have the full package or classpath info
in the GraphQLType so all names must be unique.
- copy(klazz, annotations) - Method in class com.expedia.graphql.schema.Parameter
-
Custom wrapper for a class and its annotations
- copy(supportedPackages, topLevelQueryName, topLevelMutationName, hooks, dataFetcherFactory) - Method in class com.expedia.graphql.schema.SchemaGeneratorConfig
-
Settings for generating the schema.
- copy(obj, klazz) - Method in class com.expedia.graphql.TopLevelObjectDef
-
Encapsulates an object to use as a target for schema generation and the
class to be used for reflection.
- CouldNotGetJvmNameOfKTypeException - Exception in com.expedia.graphql.schema.exceptions
-
Thrown when trying to generate a class and cannot resolve the jvm erasure name.
- CouldNotGetJvmNameOfKTypeException(kType) - Constructor for exception com.expedia.graphql.schema.exceptions.CouldNotGetJvmNameOfKTypeException
-
Thrown when trying to generate a class and cannot resolve the jvm erasure name.
- CouldNotGetNameOfAnnotationException - Exception in com.expedia.graphql.schema.exceptions
-
Thrown when unable to get the annotaiton name of a KAnnotatedElement.
- CouldNotGetNameOfAnnotationException(kClass) - Constructor for exception com.expedia.graphql.schema.exceptions.CouldNotGetNameOfAnnotationException
-
Thrown when unable to get the annotaiton name of a KAnnotatedElement.
- CouldNotGetNameOfEnumException - Exception in com.expedia.graphql.schema.exceptions
-
Thrown when trying to generate an enum class and cannot resolve the simple name.
- CouldNotGetNameOfEnumException(kclass) - Constructor for exception com.expedia.graphql.schema.exceptions.CouldNotGetNameOfEnumException
-
Thrown when trying to generate an enum class and cannot resolve the simple name.
- DataFetcherExecutionPredicate - Class in com.expedia.graphql.schema.hooks
-
Perform runtime evaluations of each parameter passed to any KotlinDataFetcher.
- DataFetcherExecutionPredicate() - Constructor for class com.expedia.graphql.schema.hooks.DataFetcherExecutionPredicate
-
Perform runtime evaluations of each parameter passed to any KotlinDataFetcher.
- description() - Method in interface com.expedia.graphql.annotations.GraphQLDirective
-
- didGenerateDataFetcher($this, function, dataFetcher) - Static method in class com.expedia.graphql.schema.hooks.SchemaGeneratorHooks.DefaultImpls
-
Called after converting the function to a data fetcher allowing wrapping the fetcher to modify data or instrument it.
This is more useful than the graphql.execution.instrumentation.Instrumentation as you have the function type here
- didGenerateDataFetcher(function, dataFetcher) - Method in interface com.expedia.graphql.schema.hooks.SchemaGeneratorHooks
-
Called after converting the function to a data fetcher allowing wrapping the fetcher to modify data or instrument it.
This is more useful than the graphql.execution.instrumentation.Instrumentation as you have the function type here
- didGenerateGraphQLType($this, type, generatedType) - Static method in class com.expedia.graphql.schema.hooks.SchemaGeneratorHooks.DefaultImpls
-
Called after wrapping the type based on nullity but before adding the generated type to the schema
- didGenerateGraphQLType(type, generatedType) - Method in interface com.expedia.graphql.schema.hooks.SchemaGeneratorHooks
-
Called after wrapping the type based on nullity but before adding the generated type to the schema
- didGenerateMutationType($this, function, fieldDefinition) - Static method in class com.expedia.graphql.schema.hooks.SchemaGeneratorHooks.DefaultImpls
-
Called after converting the function to a field definition but before adding to the schema to allow customization
- didGenerateMutationType(function, fieldDefinition) - Method in interface com.expedia.graphql.schema.hooks.SchemaGeneratorHooks
-
Called after converting the function to a field definition but before adding to the schema to allow customization
- didGenerateQueryType($this, function, fieldDefinition) - Static method in class com.expedia.graphql.schema.hooks.SchemaGeneratorHooks.DefaultImpls
-
Called after converting the function to a field definition but before adding to the schema to allow customization
- didGenerateQueryType(function, fieldDefinition) - Method in interface com.expedia.graphql.schema.hooks.SchemaGeneratorHooks
-
Called after converting the function to a field definition but before adding to the schema to allow customization
- DirectiveWiringHelper - Class in com.expedia.graphql.schema.generator.directive
-
Based on
https://github.com/graphql-java/graphql-java/blob/master/src/main/java/graphql/schema/idl/SchemaGeneratorDirectiveHelper.java
- DirectiveWiringHelper(wiringFactory, manualWiring) - Constructor for class com.expedia.graphql.schema.generator.directive.DirectiveWiringHelper
-
Based on
https://github.com/graphql-java/graphql-java/blob/master/src/main/java/graphql/schema/idl/SchemaGeneratorDirectiveHelper.java
- InvalidInputFieldTypeException - Exception in com.expedia.graphql.schema.exceptions
-
GraphQL Interfaces and Unions cannot be used as arguments.
Specification reference: https://facebook.github.io/graphql/draft/#sec-Field-Arguments
- InvalidInputFieldTypeException() - Constructor for exception com.expedia.graphql.schema.exceptions.InvalidInputFieldTypeException
-
GraphQL Interfaces and Unions cannot be used as arguments.
Specification reference: https://facebook.github.io/graphql/draft/#sec-Field-Arguments
- InvalidListTypeException - Exception in com.expedia.graphql.schema.exceptions
-
Thrown on mapping an invalid list type
- InvalidListTypeException(type) - Constructor for exception com.expedia.graphql.schema.exceptions.InvalidListTypeException
-
Thrown on mapping an invalid list type
- InvalidSchemaException - Exception in com.expedia.graphql.schema.exceptions
-
Exception thrown on schema creation if no queries and no mutations are specified.
- InvalidSchemaException() - Constructor for exception com.expedia.graphql.schema.exceptions.InvalidSchemaException
-
Exception thrown on schema creation if no queries and no mutations are specified.
- isValidFunction($this, function) - Static method in class com.expedia.graphql.schema.hooks.SchemaGeneratorHooks.DefaultImpls
-
Called when looking at the KClass functions to determine if it valid for adding to the generated schema.
If any filter returns false, it is rejected.
- isValidFunction(function) - Method in interface com.expedia.graphql.schema.hooks.SchemaGeneratorHooks
-
Called when looking at the KClass functions to determine if it valid for adding to the generated schema.
If any filter returns false, it is rejected.
- isValidProperty($this, property) - Static method in class com.expedia.graphql.schema.hooks.SchemaGeneratorHooks.DefaultImpls
-
Called when looking at the KClass properties to determine if it valid for adding to the generated schema.
If any filter returns false, it is rejected.
- isValidProperty(property) - Method in interface com.expedia.graphql.schema.hooks.SchemaGeneratorHooks
-
Called when looking at the KClass properties to determine if it valid for adding to the generated schema.
If any filter returns false, it is rejected.