All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sangria.macros.derive.annotations.scala Maven / Gradle / Ivy

The newest version!
package sangria.macros.derive

import language.existentials
import sangria.execution.FieldTag
import sangria.schema.{InputType, OutputType}

import scala.annotation.StaticAnnotation

class GraphQLName(name: String) extends StaticAnnotation
class GraphQLDescription(description: String) extends StaticAnnotation
class GraphQLDeprecated(deprecationReason: String) extends StaticAnnotation
class GraphQLFieldTags(fieldTags: FieldTag*) extends StaticAnnotation
class GraphQLExclude extends StaticAnnotation
class GraphQLField extends StaticAnnotation
class GraphQLDefault(defaultValue: T forSome { type T }) extends StaticAnnotation
class GraphQLOutputType(graphQLType: OutputType[T] forSome { type T }) extends StaticAnnotation
class GraphQLInputType(graphQLType: InputType[T] forSome { type T }) extends StaticAnnotation




© 2015 - 2024 Weber Informatics LLC | Privacy Policy