Skip to content

Commit a485b9b

Browse files
authored
Merge pull request #7 from moufmouf/info_in_options
Adding info for each nodes
2 parents 565fa29 + 3988b2a commit a485b9b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

DependencyInjection/Configuration.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public function getConfigTreeBuilder()
1313
$treeBuilder = new TreeBuilder('graphqlite');
1414
$rootNode = $treeBuilder->getRootNode();
1515

16-
$rootNode
16+
$rootNode->info('Read more about GraphQLite available options at: https://graphqlite.thecodingmachine.io/docs/symfony-bundle')
1717
->children()
1818
//->scalarNode('controllers_namespace')->defaultValue('App\\Controllers')->end()
1919
//->scalarNode('types_namespace')->defaultValue('App\\Types')->end()
@@ -33,10 +33,10 @@ public function getConfigTreeBuilder()
3333
->end()
3434
->arrayNode('debug')
3535
->children()
36-
->booleanNode('INCLUDE_DEBUG_MESSAGE')->defaultFalse()->end()
37-
->booleanNode('INCLUDE_TRACE')->defaultFalse()->end()
38-
->booleanNode('RETHROW_INTERNAL_EXCEPTIONS')->defaultFalse()->end()
39-
->booleanNode('RETHROW_UNSAFE_EXCEPTIONS')->defaultTrue()->end()
36+
->booleanNode('INCLUDE_DEBUG_MESSAGE')->defaultFalse()->info('Include exception messages in output when an error arises')->end()
37+
->booleanNode('INCLUDE_TRACE')->defaultFalse()->info('Include stacktrace in output when an error arises')->end()
38+
->booleanNode('RETHROW_INTERNAL_EXCEPTIONS')->defaultFalse()->info('Exceptions are not caught by the engine and propagated to Symfony')->end()
39+
->booleanNode('RETHROW_UNSAFE_EXCEPTIONS')->defaultTrue()->info('Exceptions that do not implement ClientAware interface are not caught by the engine and propagated to Symfony.')->end()
4040
->end()
4141
->end()
4242
;

0 commit comments

Comments
 (0)