I am reading the Server-Side Swift with Vapor third edition.
It is a wonderful learning trip from ch.1 to Ch.13. However, when compiling the example on the Chapter 14 , there are many errors occur, like:
Cannot convert value of type ‘DatabaseIdentifier<User.Database>’ to expected argument type ‘DatabaseIdentifier<User.Database>’
I cannot catch the error meaning and don’t know how to solve these problems.
At the same time, I am wondering when will you update the rest chapter content after Ch.14.
Leaf is going through a few changes right now. However, there is an excellent article that explains these changes. You can combine this knowledge with Chapter 14 and possibly come up with a great solution.
You can find the article here: What's new in Leaf 4 (Tau)? - The.Swift.Dev.
Hi all, yep as stated at the start of Chapter 14, that chapter hasn’t been updated yet. Basically everything is held up with Leaf, however we’re now starting up again as Leaf is about to be tagged so watch this space!
Hi Tim,
Are you able to give a time frame when the updates to this chapter (and the rest of the book?) can be done or is the Leaf update a big blocker for this.