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 |
---|---|---|
null |
boolean |
deprecated() @default false |
null |
java.lang.String |
deprecationReason() @default '' |
null |
java.lang.String |
value() @default '' |
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() |