Variables

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Variables(val types: String)(source)

Declares the set of GraphQL variables that a VariablesProvider or Resolver binding will supply.

Place this annotation on a VariablesProvider implementation class. Each element of types must describe one variable as "name: GraphQLType". The same variable names must appear as keys in the map returned by VariablesProvider.provide.

Properties

Link copied to clipboard
val types: Array<out String>

Each element describes one variable as name: Type. All spaces are ignored.