Skip to content

Commit

Permalink
Merge a7015b9 into fe227f1
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia committed Mar 29, 2021
2 parents fe227f1 + a7015b9 commit 27167a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,11 @@

#### Unreleased

#### 14.6.1

Fix:
- Add fallback for directive.isRepeatable in BuildClientSchema

#### 14.6.0

Feat:
Expand Down
2 changes: 1 addition & 1 deletion src/Utils/BuildClientSchema.php
Expand Up @@ -489,7 +489,7 @@ public function buildDirective(array $directive) : Directive
'name' => $directive['name'],
'description' => $directive['description'],
'args' => $this->buildInputValueDefMap($directive['args']),
'isRepeatable' => $directive['isRepeatable'],
'isRepeatable' => $directive['isRepeatable'] ?? false,
'locations' => $directive['locations'],
]);
}
Expand Down

0 comments on commit 27167a1

Please sign in to comment.