Skip to content

Commit b96d9d1

Browse files
author
Jeremiah VALERIE
committed
Fix auto mapping configuration migration
1 parent 0bc8078 commit b96d9d1

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

UPGRADE-0.12.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,13 @@ UPGRADE FROM 0.11 to 0.12
2121
```
2222
- use Symfony 4+ service configuration to tag your types, resolvers or mutation.
2323
```yaml
24-
# config/graphql.yaml
24+
# config/services.yaml
2525
services:
2626
_defaults:
27-
autowire: true
28-
public: true
29-
30-
_instanceof:
31-
GraphQL\Type\Definition\Type:
32-
tags: ['overblog_graphql.type']
33-
Overblog\GraphQLBundle\Definition\Resolver\ResolverInterface:
34-
tags: ['overblog_graphql.resolver']
35-
Overblog\GraphQLBundle\Definition\Resolver\MutationInterface:
36-
tags: ['overblog_graphql.mutation']
37-
27+
autoconfigure: true
28+
3829
App\GraphQL\:
39-
resource: ../GraphQL
30+
resource: ../src/GraphQL
4031
```
4132
4233

0 commit comments

Comments
 (0)