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