Interface GraphQlParameterContext
- All Known Subinterfaces:
GraphQlParameterCodegenContext
public interface GraphQlParameterContext
Information about a GraphQL resolver method parameter.
-
Method Summary
Modifier and TypeMethodDescriptionParameter annotations.default booleanWhether the parameter belongs to a child field resolver.Type name of the GraphQL endpoint that declares the resolver method.Java resolver method name.Parameter type.intParameter index.Java parameter name.Resolver method kind.Unique Java resolver method name as seen by code generation.
-
Method Details
-
annotations
-
parameterType
-
endpointType
TypeName endpointType()Type name of the GraphQL endpoint that declares the resolver method.- Returns:
- endpoint type name
-
methodName
-
uniqueMethodName
String uniqueMethodName()Unique Java resolver method name as seen by code generation.- Returns:
- unique resolver method name
-
paramName
-
paramIndex
int paramIndex()Parameter index.- Returns:
- parameter index
-
resolverKind
-
childResolver
default boolean childResolver()Whether the parameter belongs to a child field resolver.- Returns:
- whether this is a child field resolver parameter
-