Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostGraphQL V4 - announcing graphile-build #506

Merged
merged 146 commits into from
Feb 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
21ba9d5
Schema generation provided by postgraphql-build
benjie Jul 5, 2017
a0c4a13
Bump version for major performance and compatibility improvements
benjie Jul 5, 2017
aebcff3
Bump postgraphql-build version for Node sub-8 support
benjie Jul 6, 2017
fc8b963
Bump version for __id support
benjie Jul 7, 2017
1b504ed
Accept non-array schemas
benjie Jul 7, 2017
1a14923
Upgrade to fix issue with procs returning null compound types
benjie Jul 7, 2017
4cfb64a
Allow null in PG arrays
benjie Jul 7, 2017
f68f572
Install babel-polyfill
benjie Jul 7, 2017
ab8bb6a
Switch to yarn
benjie Jul 7, 2017
3da18c6
Delete unused
benjie Jul 7, 2017
b1caa0f
Disable test that hangs due to massive diff
benjie Jul 7, 2017
ba561aa
Upgrade postgraphql-build for better comments
benjie Jul 7, 2017
3528522
Update postgraphql-build to avoid error on mutation edges
benjie Jul 8, 2017
f20e013
Restore watching functionality
benjie Jul 12, 2017
bace492
JWT support
benjie Jul 12, 2017
bc6dc8a
Update createPostGraphQLSchema references
benjie Jul 12, 2017
854187c
'Fix' the tests
benjie Jul 12, 2017
5baad0e
Resolve mocking issues
benjie Jul 12, 2017
9b77170
Merge branch 'master' into benjie/graphql-build
benjie Jul 12, 2017
5c60b12
Domain support
benjie Jul 13, 2017
36f9efe
Merge branch 'master' into benjie/graphql-build
benjie Jul 13, 2017
2b4a344
Lots of compatibility fixes
benjie Jul 13, 2017
7e5b2df
Update graphql-build for many more descriptions
benjie Jul 13, 2017
bdae04b
Update graphql-build for many more descriptions
benjie Jul 13, 2017
ae99a03
Update graphql-build for more tweaks
benjie Jul 13, 2017
0df4bf7
Fix functions returning arrays
benjie Jul 13, 2017
899c74e
Moar descriptions
benjie Jul 13, 2017
4388f1c
Acceptable schema changes
benjie Jul 13, 2017
d1de4cf
Upgrade for a few more tweaks
benjie Jul 13, 2017
9abec13
Update the schema export test
benjie Jul 13, 2017
e65b6f8
Lint fixes
benjie Jul 13, 2017
5091e50
Fix TypeScript types
benjie Jul 13, 2017
62d7dcc
Install lodash peerDependency of postgraphql-build
benjie Jul 13, 2017
105d21a
Sort out dependencies
benjie Jul 13, 2017
dd72183
Switch CI script over to yarn
benjie Jul 13, 2017
a67f7d0
Fix case-sensitivity
benjie Jul 13, 2017
fc958a2
Upgrade for Node4 compat
benjie Jul 13, 2017
d6d90d7
CI: add yarn to cache, node 8 tests
benjie Jul 13, 2017
216a54d
Bump version to avoid yarn engine issue
benjie Jul 13, 2017
7730f91
Bump version number
benjie Jul 13, 2017
9b48f76
Don't crash on empty mutations
benjie Jul 14, 2017
97c9789
Rename various internals
benjie Jul 14, 2017
4b9fd17
Minor bump
benjie Jul 14, 2017
a522cfe
Upgrade so we can pass plugins to postgraphql-build
benjie Jul 15, 2017
80fccd9
Add CLI support for loading modules
benjie Jul 15, 2017
2567220
Switch to comma separated list due to tool restrictions
benjie Jul 15, 2017
7649a7b
Linting
benjie Jul 15, 2017
ede6ca7
Even smaller bundle
benjie Jul 15, 2017
8ade82a
Use prepack over prepublishOnly for pack/publish
benjie Jul 15, 2017
baeb56a
Try and solve babel-polyfill issue
benjie Jul 15, 2017
74855ba
Version bump for setting plugins
benjie Jul 15, 2017
4aea305
Remove need for babel-polyfill
benjie Jul 15, 2017
453aaca
Restore underscores to field names
benjie Jul 16, 2017
1417bc3
Version bump
benjie Jul 16, 2017
bdfddfc
Upgrade to Flow-ified version of graphql-build
benjie Jul 25, 2017
354df59
Bump version
benjie Jul 25, 2017
75243b5
Fix typo
benjie Jul 26, 2017
53e0491
Upgrade postgraphql-build
benjie Jul 26, 2017
c3eff1a
Bump version
benjie Jul 26, 2017
468ffff
Drop Node v6 from tests (just 4 and 8 should cover it)
benjie Jul 26, 2017
768fcc9
Bump
benjie Jul 28, 2017
e30e531
Upgrade graphql-build
benjie Jul 29, 2017
528932c
Mutation computation fix, module rename, bump
benjie Aug 1, 2017
061407f
Version bump to solve description='false'
benjie Aug 1, 2017
72cdeee
Update postgraphile-core to remove temp tables
benjie Aug 1, 2017
7055dc1
Upgrade postgraphile-core
benjie Aug 4, 2017
644f49d
Version bump
benjie Aug 4, 2017
c1c1f08
Upgrade postgraphile-core
benjie Aug 8, 2017
9061130
Merge branch 'master' into benjie/graphql-build
benjie Aug 8, 2017
bebb251
pg-minify is updated
benjie Aug 8, 2017
6f134d7
4.0.0-alpha2.6
benjie Aug 8, 2017
e2cb680
Upgrade postgraphile-core: enum capitalisation
benjie Aug 9, 2017
ab26b14
Upgrade postgraphile-core: solve JWT issues
benjie Aug 9, 2017
2c80a18
Version bump
benjie Aug 9, 2017
97b86b9
Upgrade postgraphile-core: remove extraneous nodeIds
benjie Aug 10, 2017
4fc0872
4.0.0-alpha2.9
benjie Aug 10, 2017
5a3b6d8
Fix tests
benjie Aug 10, 2017
ce7fb97
Deprecate --token in favour of --jwt-token-identifier
benjie Aug 11, 2017
5979eaf
Upgrade postgraphile-core - computed column fixes
benjie Aug 14, 2017
68db8ed
Bump postgraphile-core - fix typo
benjie Aug 15, 2017
b8a8cc8
Bump
benjie Aug 15, 2017
9b65130
Merge branch 'master' into benjie/graphql-build
benjie Aug 16, 2017
2a3498e
Fix issue with mutations
benjie Aug 16, 2017
b50fcff
Upgrade postgraphile-core - nullable relations
benjie Aug 20, 2017
4cc3ed0
Fix test snapshots
benjie Aug 20, 2017
2bc04bb
Upgrade postgraphile-core - fix reverse pagination setof procedure bug
benjie Aug 21, 2017
d2a9def
Don't clear the schema because it clears state
benjie Aug 31, 2017
af8cbc4
postgraphile-core bump
benjie Aug 31, 2017
b507e04
Version bump
benjie Aug 31, 2017
8e6a511
Upgrade postgraphile-core - fix procedures returning setof composite
benjie Sep 5, 2017
9742331
Upgrade postgraphile-core: allow overriding inflector
benjie Sep 11, 2017
0d1c04b
Upgrade postgraphile-core - fix UUID with --dynamic-json
benjie Sep 12, 2017
a1661b0
Upgrade postgraphile-core: namespace tweaks
benjie Sep 14, 2017
73be58f
Bump postgraphile-core
benjie Sep 22, 2017
49f7a56
Version bump
benjie Sep 22, 2017
7ca565e
Mutation payloads are nullable again
benjie Sep 22, 2017
689fada
Update README
benjie Sep 22, 2017
cfd6237
Merge branch 'master' into benjie/graphql-build
benjie Oct 29, 2017
51643bd
Upgrade postgraphile-core
benjie Oct 29, 2017
5526c2c
feat(postgraphql): Provide mechanism to add data to resolver context …
alexFaunt Oct 29, 2017
e8b0a1d
4.0.0-alpha2.21
benjie Oct 29, 2017
27d1e1e
Merge branch 'master' into benjie/graphql-build
benjie Nov 1, 2017
7a69eb2
feat(pgSettings): Only use settings of type string or number (#589)
Nov 1, 2017
ac0f4c9
Upgrade postgraphile-core: fix arrays of compound types
benjie Nov 2, 2017
4bf5871
4.0.0-alpha2.22
benjie Nov 2, 2017
3c6e3e7
Merge branch 'master' into benjie/graphql-build
benjie Nov 28, 2017
1b13809
v4.0.0-alpha2.23
benjie Nov 28, 2017
1f11dea
Merge branch 'master' into benjie/graphql-build
benjie Nov 29, 2017
20bd36e
v4.0.0-alpha2.24
benjie Nov 29, 2017
f72df0d
Merge branch 'master' into benjie/graphql-build
benjie Nov 29, 2017
9ac624d
Merge branch 'master' into benjie/graphql-build
benjie Nov 30, 2017
024da2a
v4.0.0-alpha2.25
benjie Nov 30, 2017
4af0238
Merge branch 'master' into benjie/graphql-build
benjie Dec 3, 2017
f15360d
Upgrade postgraphile-core
benjie Dec 3, 2017
865829b
Update tests for arbitrary precision types
benjie Dec 3, 2017
e5a15b6
v4.0.0-alpha2.26
benjie Dec 3, 2017
f6f252b
Merge branch 'master' into benjie/graphql-build
benjie Dec 16, 2017
a0e9f25
Upgrade postgraphile-core
benjie Dec 16, 2017
12846cb
Update snapshots
benjie Dec 16, 2017
0e572f0
v4.0.0-alpha2.27
benjie Dec 16, 2017
1fa4310
feat(additionalGraphQLContextFromRequest): add res to callback (#652)
benjie Dec 19, 2017
6a7d654
Merge branch 'master' into benjie/graphql-build
benjie Jan 12, 2018
5d9feab
Upgrade postgraphile-core
benjie Jan 14, 2018
d68e9cc
Add readCache/writeCache CLI options
benjie Jan 12, 2018
cf7a3c3
4.0.0-alpha2.28
benjie Jan 14, 2018
97a1ecf
Merge branch 'master' into benjie/graphql-build
benjie Jan 30, 2018
a37c59f
4.0.0-alpha2.29
benjie Jan 30, 2018
8acd3c3
Merge branch 'master' into benjie/graphql-build
benjie Jan 30, 2018
1c84813
Pin to GraphQL v0.11 due to graphql/graphql-js#1182
benjie Jan 30, 2018
660d3fb
Downgrade GraphQL to v0.11 due to graphql/graphql-js#1182
benjie Jan 30, 2018
6f91793
4.0.0-alpha2.30
benjie Jan 30, 2018
08133a5
Merge branch 'master' into benjie/graphql-build
benjie Feb 10, 2018
275267d
Widen pg supported range: >=6.1 <8
benjie Feb 17, 2018
7641a26
Upgrade postgraphile-core
benjie Feb 17, 2018
4582135
Update snapshots - fix cursors and array orderBy
benjie Feb 17, 2018
f5e19ba
4.0.0-alpha2.31
benjie Feb 17, 2018
2391185
Duck-type pg.Pool
benjie Feb 19, 2018
cfa4b74
Merge branch 'master' into benjie/graphql-build
benjie Feb 19, 2018
3035edc
fix space-before-function-paren
caub Jan 5, 2018
1cdc0d0
feat(postgraphile) Add support for putting options in .postgraphilerc.js
Jan 19, 2018
00bc27c
feat(postgraphql) Add support for declaring connection string via DAT…
Jan 19, 2018
acb594e
feat(postgraphql): support PGUSER and PGPASSWORD environment variable…
Feb 19, 2018
95a60ee
Upgrade postgraphile-core to remove joi
benjie Feb 19, 2018
7d29878
4.0.0-alpha2.32
benjie Feb 19, 2018
9d05288
Allow BoundPool as a Pool name also
benjie Feb 19, 2018
cdafe55
4.0.0-alpha2.33
benjie Feb 19, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ tsconfig.json
tslint.json
.vscode
src
build/__tests__
build/**/__tests__
build/__mocks__
build/**/__mocks__
typings
scripts
Expand Down
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: node_js

node_js:
- "6"
- "8"
- "6"

addons:
postgresql: "9.4"
Expand All @@ -11,6 +11,7 @@ env:
TEST_PG_URL: postgres://localhost:5432/travis

cache:
yarn: true
directories:
- node_modules
- $NVM_DIR
Expand Down
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"typescript.tsdk": "./node_modules/typescript/lib",
"eslint.enable": false,
"eslint.autoFixOnSave": true,
"search.exclude": {
"**/node_modules": true,
"**/bower_components": true,
Expand Down
63 changes: 21 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PostGraphQL
# PostGraphQL@next

[![Package on npm](https://img.shields.io/npm/v/postgraphql.svg?style=flat)](https://www.npmjs.com/package/postgraphql)
[![Package on npm](https://img.shields.io/npm/v/postgraphql/next.svg?style=flat)](https://www.npmjs.com/package/postgraphile)
Expand All @@ -8,9 +8,11 @@
[![Donate](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.me/benjie)
[![Follow](https://img.shields.io/badge/[email protected])](https://twitter.com/benjie)

# This is the ALPHA VERSION of PostGraphQL v4; use with caution and monitor [#506](https://github.com/postgraphql/postgraphql/pull/506)!

*A GraphQL schema created by reflection over a PostgreSQL schema.*

**Stable**: v3 ([`master`](https://github.com/postgraphql/postgraphql) branch) - maintenance only
**Stable**: v3 ([`master`](https://github.com/postgraphql/postgraphql) branch) - maintenance only
**Next**: v4 ([`postgraphile`](https://github.com/postgraphql/postgraphql/tree/postgraphile) branch) - PostGraphQL is being renamed PostGraphile with the launch of v4; see [graphile.org](https://graphile.org) for docs; see [#506](https://github.com/postgraphql/postgraphql/pull/506) for the low-down.

---
Expand All @@ -23,18 +25,18 @@ With PostGraphQL, you can access the power of PostgreSQL through a well designed

PostGraphQL holds a fundamental belief that a *well designed database schema should be all you need to serve well thought out APIs*. PostgreSQL already has amazing user management and relationship infrastructure, *why duplicate that logic* in a custom API? PostGraphQL is likely to provide a more performant and standards compliant GraphQL API then any created in house. Focus on your product and let PostGraphQL manage how the data gets to the product.

For a critical evaluation of PostGraphQL to determine if it fits in your tech stack, read the [evaluating PostGraphQL for your project](#evaluating-postgraphql-for-your-project) section.
For a critical evaluation of PostGraphQL to determine if it fits in your tech stack, read [evaluating PostGraphQL for your project](https://www.graphile.org/postgraphile/evaluating/).

## Introduction
Watch a talk by the original author [Caleb](https://twitter.com/calebmer) at GraphQL Summit for a fast 7 minute introduction to using the PostGraphQL project.
Watch a talk by the original author [Caleb](https://twitter.com/calebmer) at GraphQL Summit for a fast 7 minute introduction to using the PostGraphQL project. This was using v2; we're now up to v4 which has many more bells and whistles!

[![PostGraphQL at GraphQL Summit](https://img.youtube.com/vi/b3pwlCDy6vY/0.jpg)](https://www.youtube.com/watch?v=b3pwlCDy6vY)

## Usage
First install using npm:

```bash
npm install -g postgraphql
npm install -g postgraphql@next
```

…and then just run it! By default, PostGraphQL will connect to your local database at `postgres://localhost:5432` and introspect the `public` schema.
Expand All @@ -58,7 +60,7 @@ import postgraphql from 'postgraphql'
createServer(postgraphql())
```

For more information around using PostGraphQL as a library, and the options the API expects read the [library usage documentation article](https://github.com/calebmer/postgraphql/blob/master/docs/library.md).
For more information around using PostGraphQL as a library, and the options the API expects read the [library usage article](https://www.graphile.org/postgraphile/usage-library/).

There is also a docker image for running PostGraphQL maintained by @angelosarto, simply pass the same options to the docker container:

Expand All @@ -70,7 +72,7 @@ docker run postgraphql/postgraphql --help
To connect to a database and expose the PostGraphQL port try this:

```bash
docker run -p 5000:5000 postgraphql/postgraphql --connection postgres://POSTGRES_USER:POSTGRES_PASSWORD@POSTGRES_HOST:POSTGRES_PORT/POSTGRES_SCHEMA
docker run -p 5000:5000 postgraphql/postgraphql --connection postgres://POSTGRES_USER:POSTGRES_PASSWORD@POSTGRES_HOST:POSTGRES_PORT/POSTGRES_DATABASE
```

Also make sure to check out the **[forum example][]** and especially **[step by step tutorial][]** for a demo of a PostGraphQL compliant schema and authentication.
Expand Down Expand Up @@ -151,8 +153,8 @@ And queried through GraphQL like this:

For more information, check out our [procedure documentation][] and our [advanced queries documentation][].

[procedure documentation]: https://github.com/calebmer/postgraphql/blob/master/docs/procedures.md
[advanced queries documentation]: https://github.com/calebmer/postgraphql/blob/master/docs/advanced-queries.md
[procedure documentation]: https://www.graphile.org/postgraphile/procedures/
[advanced queries documentation]: https://www.graphile.org/postgraphile/custom-queries/

### Advanced Watch Mode
Running PostGraphQL in watch mode will get you the best experience for iterating on a GraphQL API in the whole GraphQL ecosystem.
Expand Down Expand Up @@ -220,8 +222,8 @@ To enable token based authorization use the `--secret <string>` command line arg
[jwt]: https://jwt.io
[grants]: http://www.postgresql.org/docs/current/static/sql-grant.html
[row-level-security]: http://www.postgresql.org/docs/current/static/ddl-rowsecurity.html
[pg-jwt-spec]: https://github.com/calebmer/postgraphql/blob/master/docs/pg-jwt-spec.md
[retrieving-claims]: https://github.com/calebmer/postgraphql/blob/master/docs/pg-jwt-spec.md#retrieving-claims-in-postgresql
[pg-jwt-spec]: https://www.graphile.org/postgraphile/jwt-guide/
[retrieving-claims]: https://www.graphile.org/postgraphile/jwt-guide/#retrieving-claims-in-postgresql

### Cursor Based Pagination For Free
There are some problems with traditional limit/offset pagination and realtime data. For more information on such problems, read [this article][pagination-for-graphql].
Expand All @@ -242,35 +244,11 @@ The specific specs PostGraphQL implements are:
* * *

## Documentation
- [Using PostGraphQL as Express, Connect, or Koa middleware.](https://github.com/calebmer/postgraphql/blob/master/docs/library.md)
- [Adding advanced queries to PostGraphQL.](https://github.com/calebmer/postgraphql/blob/master/docs/advanced-queries.md)
- [Using PostgreSQL functions to extend your PostGraphQL schema.](https://github.com/calebmer/postgraphql/blob/master/docs/procedures.md)
- [A crash course in PostgreSQL roles for PostGraphQL.](https://github.com/calebmer/postgraphql/blob/master/docs/default-role.md)

## Evaluating PostGraphQL For Your Project
Hopefully you’ve been convinced that PostGraphQL serves an awesome GraphQL API, but now let’s take a more critical look at whether or not you should adopt PostGraphQL for your project.

PostGraphQL’s audience is for people whose core business is not the API and want to prioritize their product. PostGraphQL allows you to define your content model in the database as you normally would, however instead of building the bindings to the database (your API) PostGraphQL takes care of it.

This takes a huge maintenance burden off your shoulders. Now you don’t have to worry about optimizing the API and the database, instead you can focus on just optimizing your database.

### No Lock In
PostGraphQL does not lock you into using PostGraphQL forever. Its purpose is to help your business in a transitory period. When you feel comfortable with the cost of building your API PostGraphQL is simple to switch with a custom solution.

How is it simple? Well first of all, your PostgreSQL schema is still your PostgreSQL schema. PostGraphQL does not ask you to do anything too divergent with your schema allowing you to take your schema (and all your data) to whatever solution you build next. GraphQL itself provides a simple and clear deprecation path if you want to start using different fields.

Ideally PostGraphQL scales with your company and we would appreciate your contributions to help it scale, however there is a simple exit path even years into the business.

### Schema Driven APIs
If you fundamentally disagree with a one-to-one mapping of a SQL schema to an API (GraphQL or otherwise) this section is for you. First of all, PostGraphQL is not necessarily meant to be a permanent solution. PostGraphQL was created to allow you to focus on your product and not the API. If you want a custom API there is a simple transition path (read [no lock in](#no-lock-in)). If you still can’t get over the one-to-one nature of PostGraphQL consider the following arguments why putting your business logic in PostgreSQL is a good idea:

1. PostgreSQL already has a powerful [user management system][user-management] with fine grained [row level security][row-level-security]. A custom API would mean you have to build your own user management and security.
2. PostgreSQL allows you to hide implementation details with [views][pg-views] of your data. Simple views can even be [auto-updatable][pg-udpatable-views]. This provides you with the same freedom and flexibility as you might want from a custom API except more performant.
3. PostgreSQL gives you automatic relations with the `REFERENCES` constraint and PostGraphQL automatically detects them. With a custom API, you’d need to hardcode these relationships.
4. For what it’s worth, you can write in your favorite scripting language in PostgreSQL including [JavaScript][js-in-pg] and [Ruby][ruby-in-pg].
5. And if you don’t want to write your Ruby in PostgreSQL, you could also use PostgreSQL’s [`NOTIFY`][pg-notify] feature to fire events to a listening Ruby or [JavaScript][node-pg-notify] microservice can listen and respond to PostgreSQL events (this could include email transactions and event reporting).
- [Using PostGraphQL as Express, Connect, or Koa middleware.](https://www.graphile.org/postgraphile/usage-library/)
- [Adding advanced queries to PostGraphQL.](https://www.graphile.org/postgraphile/custom-queries/)
- [Using PostgreSQL functions to extend your PostGraphQL schema.](https://www.graphile.org/postgraphile/procedures/)
- [A crash course in PostgreSQL roles for PostGraphQL.](https://www.graphile.org/postgraphile/default-role/)

Still worried about a certain aspect of a schema driven API? Open an issue, confident we can convince you otherwise 😉

[user-management]: http://www.postgresql.org/docs/current/static/user-manag.html
[row-level-security]: http://www.postgresql.org/docs/current/static/ddl-rowsecurity.html
Expand All @@ -286,13 +264,14 @@ Still worried about a certain aspect of a schema driven API? Open an issue, conf
## Contributing
Want to help testing and developing PostGraphQL? Check out the [contributing document](CONTRIBUTING.md) to get started quickly!

The current maintainer of this project is [Benjie Gillam](https://twitter.com/benjie).
## Maintenance
The maintainer of this project is [Benjie Gillam](https://twitter.com/benjie) - follow him on Twitter!

## Thanks
Thanks so much to the people working on [PostgREST](https://github.com/begriffs/postgrest) which was definitely a huge inspiration for this project! The core contributors are awesome and taught us so much 😊. Ironically, they also convinced us that GraphQL was superior to REST…
Thanks so much to the people working on [PostgREST](https://github.com/begriffs/postgrest) which was definitely a huge inspiration for this project!

A humongous, heart-felt, thank you to the original author of PostGraphQL - [Caleb Meredith](https://twitter.com/calebmer) - for everything he put into PostGraphQL! He's now graduated from the project and we all wish him the best for his future ventures!

Even more thanks to each and every [sponsor](SPONSORS.md) of the project - without their help progress would be a lot slower!
Even more thanks to each and every [sponsor](SPONSORS.md) of the project - without their help progress would be a lot slower! Please join them in supporting this project 🙏

Thanks and enjoy 👍
58 changes: 0 additions & 58 deletions docs/advanced-queries.md

This file was deleted.

1 change: 1 addition & 0 deletions docs/library.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Arguments include:
- `exportJsonSchemaPath`: Enables saving the detected schema, in JSON format, to the given location. The directories must exist already, if the file exists it will be overwritten.
- `exportGqlSchemaPath`: Enables saving the detected schema, in GraphQL schema format, to the given location. The directories must exist already, if the file exists it will be overwritten.
- `bodySizeLimit`: Set the maximum size of JSON bodies that can be parsed (default 100kB). The size can be given as a human-readable string, such as '200kB' or '5MB' (case insensitive).
- `additionalGraphQLContextFromRequest`: Provide an async function to this to add custom items to the context being provided to each graphQL resolver. The input is the incoming request object, allowing you to write plugins which adapt behaviour based on the request.

[connect]: https://www.npmjs.com/connect
[express]: https://www.npmjs.com/express
Expand Down
75 changes: 0 additions & 75 deletions docs/pg-jwt-spec.md

This file was deleted.

Loading