GQLFieldsFromMethods

caliban.schema.AnnotationsVersionSpecific.GQLFieldsFromMethods
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.

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

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