-
Notifications
You must be signed in to change notification settings - Fork 677
Description
Apollo version:
apollo-runtime version 0.4.4
apollo-android-support version 0.4.4
apollo-rx2-support 0.4.4
i have a problem with typecasting
LatestEventsQuery latestEvents = LatestEventsQuery.builder() .portal("23ffbb5d-d57c-40aa-ae7d-2415dd1f58e3") .start(new Date().getTime()) .end(new Date().getTime() + DateUtils.WEEK_IN_MILLIS * 8) .build();
okHttpRequest body:
{"query":"query latestEvents($portal: UUID!, $start: DateTime!, $end: DateTime!) { latestEvents(dateRange: {start: $start, end: $end, timezone: \"UTC\"}, portal: $portal) { __typename edges { __typename node { __typename uuid title lastUpdated featuredImage { __typename url(params: {width: 600, height: 400, method: CROP}) } dateRange { __typename start end } locationName } cursor } pageInfo { __typename endCursor hasNextPage } }}","variables":{"portal":"23ffbb5d-d57c-40aa-ae7d-2415dd1f58e3","start":"1519049720683","end":"1523888120683"}}
problem is variables.start is string instead of Long