Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting an error " No exact matches in call to static method 'save' " when trying to save to disk when following along tutorial #33

Closed
peterlamar opened this issue Jul 16, 2020 · 4 comments

Comments

@peterlamar
Copy link

peterlamar commented Jul 16, 2020

Same issue as here with the Disk dependency when following along with the tutorial, yet your code seems to compile fine when I check it out. I cannot figure out the difference and wanted to see if you did something special to get the Disk dependency to compile

saoudrizwan/Disk#87

@peterfriese
Copy link
Owner

peterfriese commented Jul 16, 2020 via email

@peterlamar
Copy link
Author

peterlamar commented Jul 17, 2020 via email

@peterfriese peterfriese self-assigned this Jul 17, 2020
@SantiagoSalem
Copy link

@peterlamar Does your Task struct conforms to the Codable protocol? Disk needs that to be able to do the persist

@peterlamar
Copy link
Author

Good idea @SantiagoSalem, that resolves it. I must have missed that detail in the tutorial. Thanks!

@peterfriese peterfriese removed their assignment Oct 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants