The sync(_:syncTypes:then:) method is marked deprecated:
|
@available(*, deprecated, message: "This method will be deprecated soon. Please use seqSync instead") |
|
public func sync(_ syncStack: SyncStack = SyncStack(), |
|
syncTypes: [SyncStack.SyncableTypes] = [.all], |
|
then completion: @escaping (_ result: Result<SyncStack, Error>) -> Void) { |
Is this method actually deprecated? I can't find any seqSync methods in the codebase. Should we be using a different function for sync?
It's just the only compiler warning we can't resolve in our project 😅. It would be nice to remove it if it's not actually deprecated yet.
Thanks for your time
The
sync(_:syncTypes:then:)method is marked deprecated:contentstack-swift/Sources/Stack.swift
Lines 370 to 373 in 82749ca
Is this method actually deprecated? I can't find any
seqSyncmethods in the codebase. Should we be using a different function for sync?It's just the only compiler warning we can't resolve in our project 😅. It would be nice to remove it if it's not actually deprecated yet.
Thanks for your time