-
Notifications
You must be signed in to change notification settings - Fork 37
/
graphqlite.xml
133 lines (105 loc) · 5.81 KB
/
graphqlite.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<?xml version="1.0" encoding="UTF-8" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services
http://symfony.com/schema/dic/services/services-1.0.xsd"
>
<parameters>
<parameter key="graphqlite.annotations.error_mode">LAX_MODE</parameter>
</parameters>
<services>
<defaults autowire="true" autoconfigure="true" public="false" />
<service id="TheCodingMachine\GraphQLite\SchemaFactory">
<argument type="service" id="graphqlite.psr16cache" />
<argument type="service" id="service_container" />
<call method="setAuthenticationService">
<argument type="service" id="TheCodingMachine\GraphQLite\Security\AuthenticationServiceInterface" />
</call>
<call method="setAuthorizationService">
<argument type="service" id="TheCodingMachine\GraphQLite\Security\AuthorizationServiceInterface" />
</call>
</service>
<service id="TheCodingMachine\GraphQLite\Schema" public="true">
<factory service="TheCodingMachine\GraphQLite\SchemaFactory"
method="createSchema"
/>
</service>
<service id="TheCodingMachine\GraphQLite\AggregateControllerQueryProviderFactory">
<argument type="collection">
</argument>
<argument type="service" id="service_container">
</argument>
<tag name="graphql.queryprovider_factory" />
</service>
<service id="GraphQL\Type\Schema" alias="TheCodingMachine\GraphQLite\Schema" />
<service id="TheCodingMachine\GraphQLite\AnnotationReader" >
<argument key="$mode">%graphqlite.annotations.error_mode%</argument>
</service>
<service id="TheCodingMachine\Graphqlite\Bundle\Security\AuthenticationService">
<argument type="service" id="security.token_storage" on-invalid="null" />
</service>
<service id="TheCodingMachine\GraphQLite\Security\AuthenticationServiceInterface" alias="TheCodingMachine\Graphqlite\Bundle\Security\AuthenticationService" />
<service id="TheCodingMachine\Graphqlite\Bundle\Security\AuthorizationService">
<argument type="service" id="security.authorization_checker" on-invalid="null" />
</service>
<service id="TheCodingMachine\GraphQLite\Security\AuthorizationServiceInterface" alias="TheCodingMachine\Graphqlite\Bundle\Security\AuthorizationService" />
<service id="GraphQL\Server\ServerConfig" class="TheCodingMachine\Graphqlite\Bundle\Server\ServerConfig">
<call method="setSchema">
<argument type="service" id="TheCodingMachine\GraphQLite\Schema"/>
</call>
<call method="setErrorFormatter">
<argument type="collection">
<argument>\TheCodingMachine\GraphQLite\Exceptions\WebonyxErrorHandler</argument>
<argument>errorFormatter</argument>
</argument>
</call>
<call method="setErrorsHandler">
<argument type="collection">
<argument>\TheCodingMachine\GraphQLite\Exceptions\WebonyxErrorHandler</argument>
<argument>errorHandler</argument>
</argument>
</call>
</service>
<service id="GraphQL\Validator\Rules\DisableIntrospection" />
<service id="GraphQL\Validator\Rules\QueryComplexity" />
<service id="GraphQL\Validator\Rules\QueryDepth" />
<service id="TheCodingMachine\GraphQLite\Mappers\StaticTypeMapper">
<tag name="graphql.type_mapper"/>
</service>
<service id="TheCodingMachine\Graphqlite\Bundle\Controller\GraphqliteController" public="true">
<tag name="routing.route_loader"/>
</service>
<service id="TheCodingMachine\Graphqlite\Bundle\Mappers\RequestParameterMiddleware">
<tag name="graphql.parameter_middleware"/>
</service>
<service id="TheCodingMachine\Graphqlite\Validator\Mappers\Parameters\AssertParameterMiddleware">
<argument type="service" id="validator.validator_factory" />
<tag name="graphql.parameter_middleware"/>
</service>
<service id="TheCodingMachine\Graphqlite\Bundle\Controller\GraphQL\LoginController" public="true">
<argument key="$firewallName">%graphqlite.security.firewall_name%</argument>
</service>
<service id="TheCodingMachine\Graphqlite\Bundle\Controller\GraphQL\MeController" public="true" />
<service id="TheCodingMachine\Graphqlite\Bundle\Types\SymfonyUserInterfaceType" public="true"/>
<service id="TheCodingMachine\GraphQLite\Mappers\StaticClassListTypeMapperFactory">
<argument type="collection">
</argument>
<tag name="graphql.type_mapper_factory"/>
</service>
<service id="graphqlite.phpfilescache" class="Symfony\Component\Cache\Adapter\PhpFilesAdapter">
<argument>graphqlite</argument>
</service>
<service id="graphqlite.apcucache" class="Symfony\Component\Cache\Adapter\ApcuAdapter">
<argument>graphqlite</argument>
</service>
<service id="graphqlite.psr16cache" class="Symfony\Component\Cache\Psr16Cache">
<argument type="service" id="graphqlite.cache" />
</service>
<service id="graphqlite.cacheclearer" class="Symfony\Component\HttpKernel\CacheClearer\Psr6CacheClearer">
<argument type="collection">
<argument type="service" id="graphqlite.cache" />
</argument>
<tag name="kernel.cache_clearer"/>
</service>
</services>
</container>