Skip to content

Commit

Permalink
remove required rule from
Browse files Browse the repository at this point in the history
  • Loading branch information
viniychuk committed Jan 8, 2016
1 parent af85f5d commit a29f025
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function getConfigTreeBuilder()

$rootNode
->children()
->scalarNode('query_schema')->cannotBeEmpty()->isRequired()->end()
->scalarNode('query_schema')->cannotBeEmpty()->end()
->end();

return $treeBuilder;
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ After that, simply run
```
$> composer require youshido/graphql-bundle='dev-master'
```
Than add bundle to your `app/AppKernel.php`
```
...
new Youshido\GraphQLBundle\GraphQLBundle(),
...
```

And finally adding routing reference to the `app/config/routing.yml`:
```
graphql:
resource: "@GraphQLBundle/Controller/"
```

## Examples

Expand Down

0 comments on commit a29f025

Please sign in to comment.