Skip to content

Commit 765fd60

Browse files
author
Julien Neuhart
committed
fixing naming issue with UserType -> too much generic
1 parent 068fa45 commit 765fd60

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Resources/config/container/graphqlite.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,11 @@
7979

8080
<service id="TheCodingMachine\Graphqlite\Bundle\Controller\GraphQL\MeController" public="true" />
8181

82-
<service id="TheCodingMachine\Graphqlite\Bundle\Types\UserType" public="true"/>
82+
<service id="TheCodingMachine\Graphqlite\Bundle\Types\SymfonyUserInterfaceType" public="true"/>
8383

8484
<service id="TheCodingMachine\GraphQLite\Mappers\StaticClassListTypeMapperFactory">
8585
<argument type="collection">
86-
<argument>TheCodingMachine\Graphqlite\Bundle\Types\UserType</argument>
86+
<argument>TheCodingMachine\Graphqlite\Bundle\Types\SymfonyUserInterfaceType</argument>
8787
</argument>
8888
<tag name="graphql.type_mapper_factory"/>
8989
</service>

Types/UserType.php renamed to Types/SymfonyUserInterfaceType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* @Type(class=UserInterface::class)
1313
* @SourceField(name="userName")
1414
*/
15-
class UserType
15+
class SymfonyUserInterfaceType
1616
{
1717
/**
1818
* @Field()

0 commit comments

Comments
 (0)