Kitura / KituraKit

Swift client library for using Codable routes with Kitura
Apache License 2.0
59 stars 20 forks source link

Kitura Extra argument 'query' in call #57

Open charelF opened 4 years ago

charelF commented 4 years ago

Context and Description

I'm a student developping an iOS application with Kitura https://github.com/charelF/Radar I am getting a strange error which seems to be a bug from Kitura, at least I can not possibly understand what I am doing wrong. I implemented the client.get method and it throws an error when I include the query parameter.

Screenshot

grafik

Code: https://github.com/charelF/Radar/blob/be0f0d3f517338370559ba15e466ff7b3bfe85af/Radar/Model/DataBase.swift#L77

Environment Details

I am using Xcode 11.1, macOS catalina, swift 5.1

Steps to Reproduce

Nothing particular, as you can see Xcode detects the line as not being correct even though it should be correct.

I initially posted this issue on the Kitura Repo, but it seems to fit better here