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,18 +1,17 @@
|
||||
query NearestHubs($lat: Float!, $lon: Float!, $radius: Float, $productUuid: String, $limit: Int, $useGraph: Boolean) {
|
||||
nearestHubs(
|
||||
query NearestHubs($lat: Float!, $lon: Float!, $radius: Float, $productUuid: String, $limit: Int) {
|
||||
nearest_hubs(
|
||||
lat: $lat
|
||||
lon: $lon
|
||||
radius: $radius
|
||||
productUuid: $productUuid
|
||||
product_uuid: $productUuid
|
||||
limit: $limit
|
||||
useGraph: $useGraph
|
||||
) {
|
||||
uuid
|
||||
name
|
||||
latitude
|
||||
longitude
|
||||
country
|
||||
countryCode
|
||||
transportTypes
|
||||
country_code
|
||||
transport_types
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user