mapbox / mapbox-directions-swift

Traffic-aware directions and map matching in Swift on iOS, macOS, tvOS, watchOS, and Linux
https://www.mapbox.com/navigation/
ISC License
178 stars 87 forks source link

Route refreshing TTL #827

Closed Udumft closed 4 weeks ago

Udumft commented 4 weeks ago

Added route response refresh TTL field and a DirectionsError to signal refreshing has expired

codecov[bot] commented 4 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.32%. Comparing base (c277fff) to head (2701cc4).

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #827      +/-   ##
==========================================
+ Coverage   84.24%   84.32%   +0.08%     
==========================================
  Files          59       59              
  Lines        4906     4926      +20     
==========================================
+ Hits         4133     4154      +21     
+ Misses        773      772       -1     
Files Coverage Δ
Sources/MapboxDirections/Directions.swift 74.35% <100.00%> (+0.26%) :arrow_up:
Sources/MapboxDirections/DirectionsError.swift 87.40% <100.00%> (+1.69%) :arrow_up:
Sources/MapboxDirections/RouteResponse.swift 87.03% <100.00%> (+0.43%) :arrow_up:
Udumft commented 4 weeks ago

List of accepted breaking changes: