Post

Replies

Boosts

Views

Activity

Reply to Error with Xcode 15 beta 5
You must provide the model type used for the root type of the key path, i.e. \ModelType.property instead of .property. Apple uses the following example in the Xcode 15 beta 5 release notes: @Query(sort: \Person.name) var people: [Person] In your case it would be something like, @Query(sort: \Person.id, order: .reverse) private var artList: [ArtInventory]
Jul ’23