Skip to content

Commit 1609a13

Browse files
committed
added filter/orderBy/skip to other paginated fields
1 parent a365c94 commit 1609a13

13 files changed

+22410
-15199
lines changed

Diff for: README.md

+12-6
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44

55
Build query arguments for filter and orderBy MongoDB queries.
66

7-
Added 61 test cases, which pass against my local server.
8-
TODO: There can be more test cases, with complex queries and a critical review of the tests.
9-
TODO: test app to run those test cases against. Used so far my local server.
10-
TODO: When server is up and running: rename src/__tests__/end-to-end/index-test-cases.js back to index-test-cases-test.js, in order to have it in the test run with Mocha.
7+
Added 60 test cases, which pass against my local create-graphql-server instance.
8+
These tests are referenced in create-graphql-server test runs later.
9+
10+
TODO:
11+
* There can be more test cases, with complex queries and a critical review of the tests. Add them to (src/index-test-cases.js).
12+
* Implement a test app within the package, to run these test cases against. Used so far my local server to test with.
1113

1214
## Purpose
1315
You build a GraphQL server with the npm package "create-graphql-server", which serves as a backend to web applications. This "create-graphql-server" generates schemas, resolvers and models for an express-js server.
@@ -697,16 +699,20 @@ If you are having troubles somewhere, have a look into the running example at:
697699
## Documentation
698700
[API Documentation](https://tobkle.github.io/create-graphql-server-query-arguments/)
699701
700-
701702
## Tests
702703
```bash
703704
yarn test
704705
```
705706
707+
Or in create-graphql-server package itself:
708+
```bash
709+
yarn end-to-end-arguments-test
710+
```
711+
706712
## Contributing
707713
In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.
708714
709715
# Example Queries
710716
711717
Have a look in the test directory to see more:
712-
[index-test-cases](https://github.com/tobkle/create-graphql-server-query-arguments/tree/master/src/__tests__/end-to-end/)
718+
[index-test-cases](https://github.com/tobkle/create-graphql-server-query-arguments/tree/master/src/index-test-cases.js)

0 commit comments

Comments
 (0)