Skip to content

Commit 3061acc

Browse files
LennardWesterveldfubhy
authored andcommitted
fix(ComposableSchema): Allow empty extension configuration. (#845)
1 parent 6c6d8f3 commit 3061acc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Plugin/GraphQL/Schema/ComposableSchema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function getResolverRegistry() {
2929
protected function getExtensions() {
3030
return array_map(function ($id) {
3131
return $this->extensionManager->createInstance($id);
32-
}, $this->getConfiguration()['extensions']);
32+
}, array_filter($this->getConfiguration()['extensions']));
3333
}
3434

3535
/**

0 commit comments

Comments
 (0)