We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b70ad4 commit cc4c326Copy full SHA for cc4c326
1 file changed
graphql.php
@@ -10,11 +10,11 @@
10
11
try {
12
$schema = file_get_contents('schema.graphql');
13
- $schema = BuildSchema::build($schema);
+ $schema = BuildSchema::build($schema);
14
$rootValue = [
15
'echo' => $resolveEcho,
16
'sum' => $resolveSum,
17
- 'prefix' => 'You said: ',
+ 'prefix' => '',
18
];
19
20
if(isset($_POST["submit"])) {
@@ -50,6 +50,8 @@
50
"debug" => [
51
"message" => $e->getMessage(),
52
],
53
+ "data"=>[],
54
55
}
56
+
57
echo json_encode($result);
0 commit comments