Fix geo GraphQL schema mismatch: camelCase → snake_case
All checks were successful
Build Docker Image / build (push) Successful in 5m46s
All checks were successful
Build Docker Image / build (push) Successful in 5m46s
All geo .graphql operations and consuming code updated to match server schema which uses snake_case field/argument names. Removed non-existent QuoteCalculations query, using NearestOffers instead.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
query GetAutoRoute($fromLat: Float!, $fromLon: Float!, $toLat: Float!, $toLon: Float!) {
|
||||
autoRoute(fromLat: $fromLat, fromLon: $fromLon, toLat: $toLat, toLon: $toLon) {
|
||||
distanceKm
|
||||
auto_route(from_lat: $fromLat, from_lon: $fromLon, to_lat: $toLat, to_lon: $toLon) {
|
||||
distance_km
|
||||
geometry
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user