GQLField

caliban.schema.AnnotationsVersionSpecific.GQLField
case class GQLField() extends StaticAnnotation

Annotation that can be used on a case class method to mark it as a GraphQL field. The method must be public, a def (does not work on vals / lazy vals) and must not take any arguments.

NOTE: This annotation is not safe for use with ahead-of-time compilation (e.g., generating a GraalVM native-image executable)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product