Updating Vapor's Template To Use
Today we're updating Vapor's template to use
await. This will make your code cleaner and easier to maintain and also brings the template in line with the docs, where
await is standard. This also removes the need to update your project so that you can use the new concurrency features and get going straight away.
The downside to the update is that it requires macOS 12. We know that not everyone is able to update their machines to macOS 12 to there's a
macos10-15 branch you can use for new projects:
vapor new MyProject --branch macos10-15