var conversationCloudDataSyncSource: Factory<any CloudDataSyncSource<ConversationModal>> {
self { ConversationFirebaseDataSource() }.cached
}
@Injected(\DataContainer.conversationCloudDataSyncSource) private var cloudMessageDataSyncSource
However I get EXC_BAD_ACCESS (code=2 on access of the DataSyncSource methods if I set the typealias (CloudDataSyncSource) as the registration type. If I specify the type as DataSyncSource then access is fine. Any ideas?
I have the following code:
My injection:
@Injected(\DataContainer.conversationCloudDataSyncSource) private var cloudMessageDataSyncSource
However I get
EXC_BAD_ACCESS (code=2
on access of theDataSyncSource
methods if I set the typealias (CloudDataSyncSource
) as the registration type. If I specify the type asDataSyncSource
then access is fine. Any ideas?