Skip to content

Commit b2d57fc

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 14465d4 + a29f025 commit b2d57fc

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function getConfigTreeBuilder()
2323

2424
$rootNode
2525
->children()
26-
->scalarNode('query_schema')->cannotBeEmpty()->isRequired()->end()
26+
->scalarNode('query_schema')->cannotBeEmpty()->end()
2727
->end();
2828

2929
return $treeBuilder;

README.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
11
# Symfony2 GraphQl Bundle
22

3-
## Not working yet
3+
### True object oriented GraphQL PHP Server realization
4+
5+
This is not a PHP port of the JavaScript GraphQL.
6+
This is a Object oriented realization of the GraphQL server conforming the [RFC Specification for GraphQL](https://facebook.github.io/graphql/).
7+
8+
## Installing graphql-bundle
9+
10+
We assume you have `composer`, if not – [go get install Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx).
11+
After that, simply run
12+
```
13+
$> composer require youshido/graphql-bundle='dev-master'
14+
```
15+
Than add bundle to your `app/AppKernel.php`
16+
```
17+
...
18+
new Youshido\GraphQLBundle\GraphQLBundle(),
19+
...
20+
```
21+
22+
And finally adding routing reference to the `app/config/routing.yml`:
23+
```
24+
graphql:
25+
resource: "@GraphQLBundle/Controller/"
26+
```
27+
28+
## Examples
29+
30+
Right now you can learn some examples in our test directory but we're going to put out the whole step by step guide for you soon.

0 commit comments

Comments
 (0)