Skip to content

Commit f3aa186

Browse files
authored
Update README.md
Fixes #27
1 parent c2f10d7 commit f3aa186

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ GraphQL Query for JPA Entity Model
66
[![Maven Central](https://img.shields.io/maven-central/v/com.introproventures/graphql-jpa-query.svg)](https://mvnrepository.com/artifact/com.introproventures/graphql-jpa-query)
77
[![Jitpack.io](https://jitpack.io/v/introproventures/graphql-jpa-query.svg)](https://jitpack.io/#introproventures/graphql-jpa-query)
88

9-
This library uses [graphql-java v3.0](https://github.com/andimarek/graphql-java) to derive and build the GraphQL schema from JPA Entity Schema provided by entity classes.
9+
This library uses [graphql-java 6.0](https://github.com/andimarek/graphql-java) to derive and build the GraphQL schema from JPA Entity Schema provided by entity classes.
1010

1111
It implements a schema builder to generate GraphQL Schema using JPA EntityManager with JPA Query Data Fetchers that transform GraphQL queries into JPA queries with flexible type safe criteria expressions and user-friendly SQL query syntax semantics i.e. query by page, , where criteria expressions, select, order by etc.
1212

@@ -28,23 +28,23 @@ For GraphQL JPA Annotations use:
2828
<dependency>
2929
<groupId>com.introproventures</groupId>
3030
<artifactId>graphql-jpa-query-annotations</artifactId>
31-
<version>0.3.0</version>
31+
<version>tag</version>
3232
</dependency>
3333

3434
For GraphQL JPA Schema Builder use:
3535

3636
<dependency>
3737
<groupId>com.introproventures</groupId>
3838
<artifactId>graphql-jpa-query-schema</artifactId>
39-
<version>0.3.0</version>
39+
<version>tag</version>
4040
</dependency>
4141

4242
For GraphQL JPA Query Boot Starter use:
4343

4444
<dependency>
4545
<groupId>com.introproventures</groupId>
4646
<artifactId>graphql-jpa-query-boot-starter</artifactId>
47-
<version>0.3.0</version>
47+
<version>tag</version>
4848
</dependency>
4949

5050
Building with jitpack.io [![Release](https://jitpack.io/v/introproventures/graphql-jpa-query.svg)](https://jitpack.io/#introproventures/graphql-jpa-query)
@@ -63,23 +63,23 @@ For GraphQL JPA Annotations use:
6363
<dependency>
6464
<groupId>com.github.introproventures.graphql-jpa-query</groupId>
6565
<artifactId>graphql-jpa-query-annotations</artifactId>
66-
<version>0.3.0</version>
66+
<version>tag</version>
6767
</dependency>
6868

6969
For GraphQL JPA Schema Builder use:
7070

7171
<dependency>
7272
<groupId>com.github.introproventures.graphql-jpa-query</groupId>
7373
<artifactId>graphql-jpa-query-schema</artifactId>
74-
<version>0.3.0</version>
74+
<version>tag</version>
7575
</dependency>
7676

7777
For GraphQL JPA Query Boot Starter use:
7878

7979
<dependency>
8080
<groupId>com.github.introproventures.graphql-jpa-query</groupId>
8181
<artifactId>graphql-jpa-query-boot-starter</artifactId>
82-
<version>0.3.0</version>
82+
<version>tag</version>
8383
</dependency>
8484

8585
Other Dependencies
@@ -268,14 +268,14 @@ Just like a REST API, it is possible to pass variable arguments to an endpoint i
268268

269269
Pagination
270270
----------
271-
GraphQL does not specify any language or idioms for performing Pagination. This library provides support for pageable queries with `page` argument on pluralized query wrapper.
271+
GraphQL does not specify any language or idioms for performing Pagination. This library provides support for pageable queries with `page` argument on pluralized query wrapper. Tha page start is 1-based, i.e. provide 1 as value for `start` parameter to request the first page with the number of records in the limit argument value.
272272

273273
This allows you to query for the "Page" version of any Entity, and return page metadata i.e. pages and total records count with the select data.
274274

275275
For example:
276276

277277
query {
278-
Humans(page:{start:0, limit: 3}) {
278+
Humans(page:{start:1, limit: 3}) {
279279
pages
280280
total
281281
select {

0 commit comments

Comments
 (0)