File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ Documentation
90
90
- [ Errors handling] ( docs/error-handling/index.md )
91
91
- [ Events] ( docs/events/index.md )
92
92
- [ Profiler] ( docs/profiler/index.md )
93
+ - [ Tune configuration] ( docs/tune_configuration.md )
93
94
94
95
Talks and slides to help you start
95
96
----------------------------------
Original file line number Diff line number Diff line change
1
+ Tune configuration
2
+ ==================
3
+
4
+ Custom GraphQl configuration parsers
5
+ ------------------------------------
6
+
7
+ You can configure custom GraphQl configuration parsers.
8
+ Your parsers MUST implement at least ` \Overblog\GraphQLBundle\Config\Parser\ParserInterface `
9
+ and optionally ` \Overblog\GraphQLBundle\Config\Parser\PreParserInterface ` when required.
10
+
11
+ Default values will be applied when omitted.
12
+
13
+ ``` yaml
14
+ overblog_graphql :
15
+ # ...
16
+ parsers :
17
+ yaml : ' Overblog\GraphQLBundle\Config\Parser\YamlParser'
18
+ graphql : ' Overblog\GraphQLBundle\Config\Parser\GraphQLParser'
19
+ annotation : ' Overblog\GraphQLBundle\Config\Parser\AnnotationParser'
20
+ attribute : ' Overblog\GraphQLBundle\Config\Parser\AttributeParser'
21
+ # ...
22
+ ```
You can’t perform that action at this time.
0 commit comments