Skip to content

Commit

Permalink
Fix enum utility extension
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsteinerde committed Feb 6, 2021
1 parent 4e4869d commit 9019fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/GraphQLKit/Graphiti+Enum.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ extension Enum where EnumType: CaseIterable & Encodable & RawRepresentable {
_ type: EnumType.Type,
name: String? = nil
) {
self.init(type) { () -> [Value<EnumType>] in
self.init(type) { () -> [Graphiti.Value<EnumType>] in
return EnumType.allCases.map({ Value($0) })
}
}
Expand Down

0 comments on commit 9019fca

Please sign in to comment.