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 val
s / lazy val
s) 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 Serializabletrait Producttrait Equalstrait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Members list
In this article