You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a data structure which contains an array of arrays of Double (e.g. a list of waypoints). When I try to compile I get the following error: "No 'list' candidates produce the expected contextual result type '[[Double]]'". This happens with version 0.4.3.
public struct Waypoints: GraphQLMappable {
public let coordinates: [[Double]]
public init(reader: GraphQLResultReader) throws {
coordinates = try reader.list(for: Field(responseName: "coordinates"))
}
}
The text was updated successfully, but these errors were encountered:
I have a data structure which contains an array of arrays of Double (e.g. a list of waypoints). When I try to compile I get the following error: "No 'list' candidates produce the expected contextual result type '[[Double]]'". This happens with version 0.4.3.
The text was updated successfully, but these errors were encountered: