Closed davidsoukup closed 1 year ago
Do you have the full stacktrace ? Perhaps you can write your own serialiser and persister. Probably something is not serialisable in the param of your job.
I already fixed it, you are right, some properties were not serializable. I am stupid, sorry for this unnecessary issue report.
I think we could also make the library more reliable and catch this kind of issue
Hello, I have I problem with persisetncy. I got error Thread 1: "Invalid type in JSON write (__SwiftValue)", I know i'ts something with saving jobs into UserDefaults, But I don't know how to fix it.
This is job builder: `let queueManager = SwiftQueueManagerBuilder(creator: ToketronJobCreator()).set(persister: UserDefaultsPersister(key: "SyncQueue")).build()
And this is job itself: `class RefreshTokenJob: Job {
}`