We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e895a62 commit 1f98244Copy full SHA for 1f98244
src/Introspection/Introspection.php
@@ -406,7 +406,8 @@ function ($inputValue) {
406
"",
407
//$inputValue can either be GraphQLArgument or GraphQLTypeField
408
function ($inputValue) {
409
- return strval($inputValue->getDefaultValue());
+ $defaultValue = $inputValue->getDefaultValue();
410
+ return $defaultValue !== null ? strval($defaultValue) : null;
411
}
412
),
413
new GraphQLTypeField(
0 commit comments