Skip to content

Commit 344b405

Browse files
committed
make getNamedType public
1 parent c93390b commit 344b405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GraphQL/Type/Definition.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ extension GraphQLUnionType : GraphQLNamedType {}
121121
extension GraphQLEnumType : GraphQLNamedType {}
122122
extension GraphQLInputObjectType : GraphQLNamedType {}
123123

124-
func getNamedType(type: GraphQLType?) -> GraphQLNamedType? {
124+
public func getNamedType(type: GraphQLType?) -> GraphQLNamedType? {
125125
var unmodifiedType = type
126126

127127
while let type = unmodifiedType as? GraphQLWrapperType {

0 commit comments

Comments
 (0)