Package io.leangen.graphql.annotations
Annotation Type GraphQLId
-
@Retention(RUNTIME) @Target({PARAMETER,TYPE_USE,FIELD,TYPE}) public @interface GraphQLId
Denotes the annotated element is to be mapped as a GraphQL ID NOTE: Due to the lack of support forAnnotatedTypein all JSON libraries for Java,ElementType.TYPE_USEannotations on input field types or nested operation argument types are lost. Thus, such annotations can only safely be used on top-level argument or output types.
-
-
Field Summary
Fields Modifier and Type Fields Description static StringRELAY_ID_FIELD_NAME
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanrelayId
-
-
-
Field Detail
-
RELAY_ID_FIELD_NAME
static final String RELAY_ID_FIELD_NAME
-
-