File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Resources/config/container Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 20
20
<call method =" setAuthorizationService" >
21
21
<argument type =" service" id =" TheCodingMachine\GraphQLite\Security\AuthorizationServiceInterface" />
22
22
</call >
23
- <!-- Ideally, we would not need to go through the GlobTypeMapper for types in packages. We shoul
24
- have the opportunity to add types / models through another class (like the AggregateControllerQueryProviderFactory for queries) -->
25
- <call method =" addTypeNamespace" >
26
- <argument type =" string" >TheCodingMachine\Graphqlite\Bundle\Types</argument >
27
- </call >
28
23
</service >
29
24
30
25
<service id =" TheCodingMachine\GraphQLite\Schema" public =" true" >
85
80
<service id =" TheCodingMachine\Graphqlite\Bundle\Controller\GraphQL\MeController" public =" true" />
86
81
87
82
<service id =" TheCodingMachine\Graphqlite\Bundle\Types\UserType" public =" true" />
83
+
84
+ <service id =" TheCodingMachine\GraphQLite\Mappers\StaticClassListTypeMapperFactory" >
85
+ <argument type =" collection" >
86
+ <argument >TheCodingMachine\Graphqlite\Bundle\Types\UserType</argument >
87
+ </argument >
88
+ <tag name =" graphql.type_mapper_factory" />
89
+ </service >
88
90
</services >
89
91
</container >
You can’t perform that action at this time.
0 commit comments