AnnotationsVersionSpecific

caliban.schema.AnnotationsVersionSpecific

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Annotations

Members list

Type members

Classlikes

open class GQLDirective(val directive: Directive) extends StaticAnnotation

Annotation used to provide directives to a schema type

Annotation used to provide directives to a schema type

Attributes

Companion
object
Supertypes
class Annotation
class Object
trait Matchable
class Any
Known subtypes
object GQLDirective

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
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.

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

Supertypes
trait Serializable
trait Product
trait Equals
class Annotation
class Object
trait Matchable
class Any
Show all
case class GQLFieldsFromMethods() extends StaticAnnotation

Annotation that can be used on a case class / case object to have all the public methods on it derived as fields.

Annotation that can be used on a case class / case object to have all the public methods on it derived as fields.

If you wish to exclude a public method from being derived as a field, you can annotate it with GQLExclude.

Attributes

See also

GQLField for a more fine-grained control over which methods are derived as fields

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