Skip to content

Commit 2d88ef3

Browse files
committed
apparently swift 5.2 compiler found this ambiguous somewhere
1 parent 9f09fd1 commit 2d88ef3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/JSONAPI/Resource/Relationship.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public struct ToManyRelationship<Relatable: JSONAPI.Relatable, IdMetaType: JSONA
143143
public let links: LinksType
144144

145145
public init(idsWithMetadata ids: [(Relatable.ID, IdMetaType)], meta: MetaType, links: LinksType) {
146-
self.metaIds = ids.map(ID.init)
146+
self.metaIds = ids.map { ID.init($0) }
147147
self.meta = meta
148148
self.links = links
149149
}

0 commit comments

Comments
 (0)