And:
protocol MyModelProtocol: PersistentModel {
associatedtype DTOType: MyDtoProtocol where DTOType.ModelType == Self
var recordName: String { get set }
protocol MyDtoProtocol {
associatedtype ModelType: PersistentModel & MyModelProtocol where ModelType.DTOType == Self
var recordNameType: String { get set }
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: