Mutations
This commit is contained in:
@@ -68,7 +68,7 @@ class SchemaSourceProvider implements LighthouseSchemaSourceProvider
|
||||
public function getSchemaString(): string
|
||||
{
|
||||
// root types
|
||||
$schema = '
|
||||
$schema = "
|
||||
type Query {
|
||||
dummy: Boolean
|
||||
}
|
||||
@@ -76,7 +76,11 @@ class SchemaSourceProvider implements LighthouseSchemaSourceProvider
|
||||
type Mutation {
|
||||
dummy: Boolean
|
||||
}
|
||||
';
|
||||
|
||||
type Subscription {
|
||||
dummy: Boolean @subscription(class: \"GermanAirlinesVa\\\\Graphql\\\\Classes\\\\Dummy\")
|
||||
}
|
||||
";
|
||||
// schema
|
||||
$schema .= collect($this->getGraphMap())->implode('schema', '');
|
||||
return $schema;
|
||||
|
||||
Reference in New Issue
Block a user