Skip to content

Commit

Permalink
Remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin committed Aug 2, 2024
1 parent 1bb2514 commit 478d684
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,8 @@ private class GQLDocumentBuilder(private val introspectionSchema: IntrospectionS
}

return GQLSchemaDefinition(
description = description.unwrapDescription("schema"),
// Older versions of GraphQL do not have a description, do not warn on this
description = description.getOrNull(),
directives = emptyList(),
rootOperationTypeDefinitions = rootOperationTypeDefinitions
)
Expand Down

0 comments on commit 478d684

Please sign in to comment.