vapor/sql-kit

reduce type nesting

tanner0101 opened this issue · 1 comments

There are some issues in Swift 4.1 with adding constraints to the SQLQuery protocol to reduce the amount of type nesting required, for example:

public func set(_ identifier: Connection.Connection.Query.Update.Identifier, to expression: Connection.Connection.Query.Update.Expression)

Once Swift 4.2 can be a requirement, we can reduce a lot of this nesting and make things cleaner.

This is fixed in SQLKit 3.0