title: GraphQL: How to implement pagination with graphQL-java?
body: <p>Currently, I see no existing support for pagination in the <a href="http://graphql-java.readthedocs.io/en/latest/index.html" rel="noreferrer">graphql-java</a> library. It does have some basic relay support, where-in, we can create a <code>connection</code>, Facebook's recommended way of implementing pagination. <br>
  <a href="https://github.com/graphql-java/graphql-java/blob/master/src/main/java/graphql/relay/Relay.java#L150" rel="noreferrer">This</a> is the method which helps achieve that. However, with no documentation I'm finding it hard to understand how this function works. Can someone break-down the steps they would take to add pagination support if they already have an existing model which allows basic queries like <code>Add</code>, <code>delete</code>, <code>fetch</code> etc. using the graphql-java library?</p>