Add Apollo-level logging and Kotlin-driven map filter.
Pass the map marker online filter as a GraphQL variable from Kotlin so offline-inclusive behavior is controllable in code, and add a shared Apollo interceptor to log each request payload and response outcome for all operations. Made-with: Cursor
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
query MapMarkers {
|
||||
getMarkers {
|
||||
query MapMarkers($isOnline: Boolean!) {
|
||||
getMarkers(filter: { isOnline: $isOnline }) {
|
||||
_id
|
||||
name
|
||||
latitude
|
||||
|
||||
Reference in New Issue
Block a user