BottleRocketStudios / iOS-Hyperspace

An extremely lightweight wrapper around URLSession to make working with APIs a breeze.
Apache License 2.0
47 stars 17 forks source link

Add container functionality to NetworkRequestDefaults #48

Closed wmcginty closed 6 years ago

wmcginty commented 6 years ago

Adds ContainerType functionality to NetworkRequestDefaults so custom structs can more easily adopt.

codecov-io commented 6 years ago

Codecov Report

Merging #48 into release/2.0.0 will increase coverage by 0.09%. The diff coverage is 100%.

Impacted file tree graph

@@                Coverage Diff                @@
##           release/2.0.0      #48      +/-   ##
=================================================
+ Coverage          96.27%   96.37%   +0.09%     
=================================================
  Files                 33       33              
  Lines               1208     1240      +32     
=================================================
+ Hits                1163     1195      +32     
  Misses                45       45
Impacted Files Coverage Δ
Sources/Hyperspace/Request/NetworkRequest.swift 100% <100%> (ø) :arrow_up:
Tests/DecodingTests.swift 95.21% <100%> (+0.5%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9384b00...8e51c97. Read the comment docs.