File tree Expand file tree Collapse file tree 2 files changed +29
-2
lines changed
Expand file tree Collapse file tree 2 files changed +29
-2
lines changed Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments