Skip to content

Commit 813f1a9

Browse files
authored
Merge pull request #243 from mcg-web/improve-documentation
Improve documentation
2 parents 7032f9d + ea51694 commit 813f1a9

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
OverblogGraphQLBundle
22
======================
33

4-
This Symfony 2 / 3 bundle provide integration [GraphQL](https://facebook.github.io/graphql/) using [webonyx/graphql-php](https://github.com/webonyx/graphql-php)
4+
This Symfony bundle provides integration of [GraphQL](https://facebook.github.io/graphql/) using [webonyx/graphql-php](https://github.com/webonyx/graphql-php)
55
and [GraphQL Relay](https://facebook.github.io/relay/docs/graphql-relay-specification.html).
66
It also supports batching using libs like [ReactRelayNetworkLayer](https://github.com/nodkz/react-relay-network-layer) or [Apollo GraphQL](http://dev.apollodata.com/core/network.html#query-batching).
77

88
[![Build Status](https://travis-ci.org/overblog/GraphQLBundle.svg?branch=master)](https://travis-ci.org/overblog/GraphQLBundle)
99
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/overblog/GraphQLBundle/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/overblog/GraphQLBundle/?branch=master)
1010
[![Coverage Status](https://coveralls.io/repos/github/overblog/GraphQLBundle/badge.svg?branch=master)](https://coveralls.io/github/overblog/GraphQLBundle?branch=master)
11+
[![Latest Stable Version](https://poser.pugx.org/overblog/graphql-bundle/version)](https://packagist.org/packages/overblog/graphql-bundle)
12+
[![Latest Unstable Version](https://poser.pugx.org/overblog/graphql-bundle/v/unstable)](https://packagist.org/packages/overblog/graphql-bundle)
13+
[![Total Downloads](https://poser.pugx.org/overblog/graphql-bundle/downloads)](https://packagist.org/packages/overblog/graphql-bundle)
1114

1215
Documentation
1316
-------------
@@ -25,6 +28,7 @@ Documentation
2528
- [Non-Null](Resources/doc/definitions/type-system/non-null.md)
2629
- [Schema](Resources/doc/definitions/schema.md)
2730
- [Resolver](Resources/doc/definitions/resolver.md)
31+
- [Solving N+1 problem](Resources/doc/definitions/solving-n-plus-1-problem.md)
2832
- [Mutation](Resources/doc/definitions/mutation.md)
2933
- [Relay](Resources/doc/definitions/relay/index.md)
3034
- [Connection](Resources/doc/definitions/relay/connection.md)
@@ -60,7 +64,7 @@ Talks and slides to help you start
6064
- [Video at SymfonyCamp UA 2017](https://www.youtube.com/watch?v=jyoYlnCPNgk) `English`
6165
- [Video at DPC 2017](https://www.youtube.com/watch?v=E7MjoCOGSSY) `English`
6266
* A GraphQL API: From hype to production *by Aurélien David* - [Twitter](https://twitter.com/spyl94), [GitHub](https://github.com/spyl94)
63-
- [Slides at https://spyl.net/slides/symfonycon-cluj-2017](https://spyl.net/slides/symfonycon-cluj-2017/) `English`
67+
- [Slides at https://spyl.net/slides/symfonycon-cluj-2017](https://spyl.net/slides/symfonycon-cluj-2017) `English`
6468
* Une API GraphQL: du hype à la prod *by Aurélien David* - [Twitter](https://twitter.com/spyl94), [GitHub](https://github.com/spyl94)
6569
- [Video at PHPTour 2017 Nantes](https://www.youtube.com/watch?v=xbipW6fgD6c) `French`
6670
* Introduction to Symfony Flex and setting up OverblogGraphQLBundle with it *by Renato Mendes Figueiredo* - [Twitter](https://twitter.com/renatomefi), [GitHub](https://github.com/renatomefi)

Resources/doc/definitions/resolver.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,5 @@ Resolvers can be define 2 different ways
165165
```
166166
`addition` mutation can be access by using `App\GraphQL\Mutation\CalcMutation::addition` or
167167
`add` alias.
168+
169+
Next step [solving N+1 problem](solving-n-plus-1-problem.md)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Solving N+1 Problem
2+
====================
3+
4+
As explained in [GraphQL-PHP documentation](https://github.com/webonyx/graphql-php/blob/master/docs/data-fetching.md),
5+
solving N+1 Problem can be a requirement to make your application production ready.
6+
For that reason, we also provide a bundle [overblog/dataloader-bundle](https://github.com/overblog/dataloader-bundle)
7+
based on [facebook dataloader](https://github.com/facebook/dataloader) answering easily to this need.

Resources/doc/index.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
OverblogGraphQLBundle
22
======================
33

4-
This Symfony 2 / 3 bundle provide integration [GraphQL](https://facebook.github.io/graphql/) using [webonyx/graphql-php](https://github.com/webonyx/graphql-php)
4+
This Symfony bundle provides integration of [GraphQL](https://facebook.github.io/graphql/) using [webonyx/graphql-php](https://github.com/webonyx/graphql-php)
55
and [GraphQL Relay](https://facebook.github.io/relay/docs/graphql-relay-specification.html).
66
It also supports batching using libs like [ReactRelayNetworkLayer](https://github.com/nodkz/react-relay-network-layer) or [Apollo GraphQL](http://dev.apollodata.com/core/network.html#query-batching).
77

88
Requirements
99
------------
10-
PHP >= 5.5
10+
11+
| Version | PHP | Symfony |
12+
|------------------------------------------------------------:|------------:|------------------:|
13+
| `>= 0.10` | `>= 5.6` | `>= 3.1` |
14+
| [`0.9`](https://github.com/overblog/GraphQLBundle/tree/0.9) | `>= 5.5.9` | `>= 2.8, <= 3.1` |
15+
| [`0.8`](https://github.com/overblog/GraphQLBundle/tree/0.8) | `>= 5.4 ` | `>= 2.7, <= 3.1` |
1116

1217
After installation
1318
------------

0 commit comments

Comments
 (0)