Skip to content

Commit

Permalink
Make framework dep more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Jul 1, 2021
1 parent 9eb2b62 commit 4409a77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
},
"require": {
"composer-plugin-api": "^1.1 || ^2",
"silverstripe/graphql": "^4"
"silverstripe/graphql": "^4",
"silverstripe/framework": "^4"
},
"require-dev": {
"composer/composer": "^1.2 || 2"
Expand Down
1 change: 0 additions & 1 deletion src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ public function generateSchema(Event $event)
$this->io->write('<info>silverstripe/graphql-composer-plugin: Building schemas</info>');

$keys = $schemas ? explode(',', $schemas) : array_keys(Schema::config()->get('schemas'));

$keys = array_filter($keys, function ($key) {
return $key !== Schema::ALL;
});
Expand Down

0 comments on commit 4409a77

Please sign in to comment.