Skip to content

Commit 0522fb6

Browse files
feat: Exposes validateSchema
1 parent dfa0a60 commit 0522fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GraphQL/Type/Validation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Validation runs synchronously, returning an array of encountered errors, or
66
* an empty array if no errors were encountered and the Schema is valid.
77
*/
8-
func validateSchema(
8+
public func validateSchema(
99
schema: GraphQLSchema
1010
) throws -> [GraphQLError] {
1111
// If this Schema has already been validated, return the previous results.

0 commit comments

Comments
 (0)