diff --git a/GRDB/QueryInterface/QueryInterfaceRequest+Association.swift b/GRDB/QueryInterface/QueryInterfaceRequest+Association.swift index 828fad783..b7478ea94 100644 --- a/GRDB/QueryInterface/QueryInterfaceRequest+Association.swift +++ b/GRDB/QueryInterface/QueryInterfaceRequest+Association.swift @@ -119,7 +119,7 @@ extension TableRecord where Self: EncodableRecord { let destinationRelation = association.sqlAssociation.destinationRelation(fromOriginRows: { db in try [Row(PersistenceContainer(db, self))] }) - return QueryInterfaceRequest(relation: destinationRelation) + return QueryInterfaceRequest(relation: destinationRelation) } } diff --git a/GRDB/QueryInterface/QueryInterfaceRequest.swift b/GRDB/QueryInterface/QueryInterfaceRequest.swift index 316890da5..9d4d0d4ad 100644 --- a/GRDB/QueryInterface/QueryInterfaceRequest.swift +++ b/GRDB/QueryInterface/QueryInterfaceRequest.swift @@ -39,7 +39,7 @@ public struct QueryInterfaceRequest { self.init(query: SQLSelectQuery(relation: relation)) } - @usableFromInline + @usableFromInline // TODO: should not be @usableFromInline var prefetchedAssociations: [SQLAssociation] { return query.relation.prefetchedAssociations }