Skip to content

Commit db0d3fe

Browse files
Merge pull request #134 from NeedleInAJayStack/feature/visitor-editing
Visitor Fixes and Editing Support
2 parents 2e37e3d + eae17e1 commit db0d3fe

File tree

5 files changed

+1619
-124
lines changed

5 files changed

+1619
-124
lines changed

Sources/GraphQL/Error/GraphQLError.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ extension IndexPath: ExpressibleByArrayLiteral {
197197
}
198198
}
199199

200-
public enum IndexPathValue: Codable {
200+
public enum IndexPathValue: Codable, Equatable {
201201
case index(Int)
202202
case key(String)
203203

@@ -242,7 +242,7 @@ extension IndexPathValue: CustomStringConvertible {
242242
}
243243
}
244244

245-
public protocol IndexPathElement {
245+
public protocol IndexPathElement: CustomStringConvertible {
246246
var indexPathValue: IndexPathValue { get }
247247
}
248248

0 commit comments

Comments
 (0)