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
class Annotation
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product