Skip to content

Commit beaa806

Browse files
committed
test: Add test for CustomType with StaticTypeMapper
1 parent 6af6ed5 commit beaa806

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
namespace TheCodingMachine\GraphQLite\Bundle\Tests\Fixtures\Types;
4+
5+
class CustomOutputType
6+
{
7+
8+
}

tests/Fixtures/config/services.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ services:
2020
TheCodingMachine\GraphQLite\Bundle\Tests\NoSecurityBundleFixtures\:
2121
resource: '../../NoSecurityBundleFixtures/*'
2222

23+
TheCodingMachine\Graphqlite\Bundle\Tests\Fixtures\Types\CustomOutputType:
24+
tags:
25+
- { name: 'graphql.output_type' }
26+
2327
someService:
2428
class: stdClass
2529

0 commit comments

Comments
 (0)