iOS: (1.0) GraphQLNullable Null Coalescing

I am moving to the latest Apollo iOS Client and I am almost there. However when passing optional values to Query inputs I am getting errors with GraphQLNullable.

For something like:

let cursor: String? = "blah"

let query: Query = Query(pagination: Pagination(before: cursor ?? .none))

I keep getting the following error:
Cannot convert value of type ‘String?’ to expected argument type ‘GraphQLNullable’

As far as I can tell this should work, any thoughts?

That looks like it should work to me? Unless your Query takes a nullable pagination parameter as well? In that case it would probably be

let query: Query = Query(pagination: .some(Pagination(before: cursor ?? .none)))