@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface GraphQLConnection
GraphQLField
) is a collection that will
be adhering Relay Connection specification
At the moment, the only allowed type for such field is List<?>
Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class<? extends Connection> |
connection
By default, a simple List connection is specified, but can be overridden using
this property to allow for more efficient fetching procedures (limiting database queries, etc.)
|
java.lang.String |
name
By default, wrapped type's name is used for naming TypeConnection, but can be overridden
using this property
|
public abstract java.lang.Class<? extends Connection> connection