We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2b3771 commit 7255fbeCopy full SHA for 7255fbe
src/Resources/skeleton/CustomScalarConfig.php.skeleton
@@ -1,5 +1,6 @@
1
[
2
<spaces>'name' => <name>,
3
+<spaces>'description' => <description>,
4
<spaces>'serialize' => <serialize>,
5
<spaces>'parseValue' => <parseValue>,
6
<spaces>'parseLiteral' => <parseLiteral>,
tests/starWarsSchema.yml
@@ -2,6 +2,7 @@
DateTime:
type: custom-scalar
config:
+ description: "The DateTime type"
serialize: ["Overblog\\GraphQLGenerator\\Tests\\DateTimeType", "serialize"]
7
parseValue: ["Overblog\\GraphQLGenerator\\Tests\\DateTimeType", "parseValue"]
8
parseLiteral: ["Overblog\\GraphQLGenerator\\Tests\\DateTimeType", "parseLiteral"]
0 commit comments