3 Comments
User's avatar
Anton Gubarenko's avatar

Nice Swift 6 migration! Maybe it will be more convenient to pass the JournalEntry.entry directly and just update the mood?

Expand full comment
NatashaTheRobot's avatar

Sure - that's fine to do in this case, but this is a very simplified use-case as a demo. Usually you need multiple (if not all) variables from the object, so in reality you would then have to pass in a lot of variables!

Expand full comment
Anton Gubarenko's avatar

Of course, done for educational purposes 👍🏻

Expand full comment