Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Bridge KituraNet.HTTPStatusCode #1217
Motivation and Context
The issue is that you need to
The solution proposed by @CosmicYogi was to document the requirement in the related Kitura API documentation. This is a reasonable approach given most people will probably look at the API doc for a function if they see a compile error.
What I think would be even better, is to prevent this issue entirely so that
How Has This Been Tested?
Tested on macOS (in SPM and Xcode builds) and Linux, using a simple project that uses
@@ Coverage Diff @@ ## master #1217 +/- ## ======================================= Coverage 89.39% 89.39% ======================================= Files 38 38 Lines 2234 2234 ======================================= Hits 1997 1997 Misses 237 237
This looks good. Couple of questions:
- how does the API documentation look: if someone were to browse the API doc for
Kitura.HTTPStatusCode, do they automatically get a reference / link to
- does XCode completion 'follow' the typealias and give you the possible values?