@java.lang.annotation.Target(value: [ElementType.TYPE, ElementType.FIELD]) @java.lang.annotation.Retention(value: RetentionPolicy.RUNTIME) @interface GraphQL
Annotation used to supply metadata to GraphQL. Can be used on entites related to graphl mapped domains even if the domain itself isn't mapped. Also useful to annotate on enumerations because there is no other alternative. The default deprecation reason is "Deprecated"
Type Params | Return Type | Name and description |
---|---|---|
|
abstract boolean |
deprecated() |
|
abstract java.lang.String |
deprecationReason() |
|
abstract java.lang.String |
value() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |