Migrating from Vapor 1 to Vapor 2
This post is originally appeared in Swift Post, available in here.
This is a hard problem in any language. When we are interacting with APIs, we are constantly making requests on objects. Let’s say we have an object
x. If we say
x.doSomething(), this will create a new state on this object. We can only assume what parts of