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?