Directive

@Serializable
data class Directive(    val name: String,     val description: String?,     val locations: List<IntrospectionSchema.Schema.Directive.DirectiveLocation> = emptyList(),     val args: List<IntrospectionSchema.Schema.Directive.Argument>,     val isRepeatable: Boolean = false)

An introspection directive

Constructors

Link copied to clipboard
fun Directive(    name: String,     description: String?,     locations: List<IntrospectionSchema.Schema.Directive.DirectiveLocation> = emptyList(),     args: List<IntrospectionSchema.Schema.Directive.Argument>,     isRepeatable: Boolean = false)

Types

Link copied to clipboard
@Serializable
data class Argument(    val name: String,     val description: String?,     val isDeprecated: Boolean = false,     val deprecationReason: String?,     val type: IntrospectionSchema.Schema.TypeRef,     val defaultValue: String?)
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
val description: String?
Link copied to clipboard
val isRepeatable: Boolean = false
Link copied to clipboard
Link copied to clipboard
val name: String