Skip to content

Commit 1a2f921

Browse files
authored
Adding scalar id type. (#354)
1 parent 6ed9492 commit 1a2f921

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
namespace Drupal\graphql_core\Plugin\GraphQL\Scalars;
4+
5+
use Youshido\GraphQL\Type\Scalar\IdType;
6+
7+
/**
8+
* Scalar id type.
9+
*
10+
* @GraphQLScalar(
11+
* id = "id",
12+
* name = "ID",
13+
* data_type = "id"
14+
* )
15+
*/
16+
class GraphQLId extends IdType {
17+
18+
}

0 commit comments

Comments
 (0)