-
Notifications
You must be signed in to change notification settings - Fork 0
Description
After both the internal domain and the response DTOs together with thier respective mappers have been put in place and the first test in #3 has been successful, its time to tap into live data.
Doing so requires an GraphQL client.
There are many possible choiches out there like apollo-ios or many others offering some kind of DSL or query builder functionality.
In the scope of a bigger project that might be good to have, but for a MVP its massivly overkill and makes things unneccessary complicated.
Additionally many of the simple clients just do JSON-en/-decoding and HTTP-wrapping under the hood, so nothing complicated.
So what am I going to do now excactly?
I will develop my own simple GraphQL client, utilizing the Client of Vapor.
It will support basic authentication via an APIAuthentication protocol and error handling