[swift6] Add Identifiable conformance to supported models (#20166)

This commit is contained in:
Lennard Sprong
2024-11-24 23:35:17 +01:00
committed by GitHub
parent 8ce332a540
commit 4c5a57fe7b
61 changed files with 196 additions and 3 deletions

View File

@@ -31,3 +31,6 @@ public struct Category: Sendable, Codable, JSONEncodable, Hashable {
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension Category: Identifiable {}

View File

@@ -53,3 +53,6 @@ public struct Order: Sendable, Codable, JSONEncodable, Hashable {
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension Order: Identifiable {}

View File

@@ -56,3 +56,6 @@ public struct Pet: Sendable, Codable, JSONEncodable, Hashable {
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension Pet: Identifiable {}

View File

@@ -31,3 +31,6 @@ public struct Tag: Sendable, Codable, JSONEncodable, Hashable {
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension Tag: Identifiable {}

View File

@@ -56,3 +56,6 @@ public struct User: Sendable, Codable, JSONEncodable, Hashable {
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension User: Identifiable {}