Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Remove faulty cast to uint64_t, explict casting for cluster API #13888

Merged
merged 2 commits into from
Feb 7, 2019

Conversation

tobrun
Copy link
Member

@tobrun tobrun commented Feb 7, 2019

#13631 introduced a regression in our JsonElement conversion system. For the cluster API we added support for converting to uint64_t but not all json primitives should have been processed that way. Atm there isn't an easy fix as JsonElement from GSON uses the Number interface. While it exposes a couple of conversions it doesn't fully support the API to determine C++ types from.

This issue closes #13881 for the meantime, as this PR reverts back to the old behavior and add some additional casting to our cluster API to keep that API functional.

Will create a follow up ticket and link it back to this PR.

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Feb 7, 2019
@tobrun tobrun self-assigned this Feb 7, 2019
@tobrun tobrun force-pushed the tvn-uint64_t branch 2 times, most recently from c550e53 to a09c35f Compare February 7, 2019 13:23
@LukasPaczos LukasPaczos added this to the android-v7.1.2 milestone Feb 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Layer not rendering correctly when property value's negative
2 participants