Skip to content

Commit

Permalink
Merge pull request #134 from NeedleInAJayStack/feature/visitor-editing
Browse files Browse the repository at this point in the history
Visitor Fixes and Editing Support
  • Loading branch information
NeedleInAJayStack authored Nov 11, 2023
2 parents 2e37e3d + eae17e1 commit db0d3fe
Show file tree
Hide file tree
Showing 5 changed files with 1,619 additions and 124 deletions.
4 changes: 2 additions & 2 deletions Sources/GraphQL/Error/GraphQLError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ extension IndexPath: ExpressibleByArrayLiteral {
}
}

public enum IndexPathValue: Codable {
public enum IndexPathValue: Codable, Equatable {
case index(Int)
case key(String)

Expand Down Expand Up @@ -242,7 +242,7 @@ extension IndexPathValue: CustomStringConvertible {
}
}

public protocol IndexPathElement {
public protocol IndexPathElement: CustomStringConvertible {
var indexPathValue: IndexPathValue { get }
}

Expand Down
Loading

0 comments on commit db0d3fe

Please sign in to comment.