Input for predicate "location" of type scalar is uid

hurts-my


Lat Lon are always decimal and not string as you can see from several links:

  1. In Blog: Easily build location-aware apps
  2. In Documentation: Representing geolocation data
  3. In Discuss: RFC for implementing GEO features in GraphQL

And decimal is universally accepted:

  1. How many decimal digits to store Lat Lon?
  2. GeoJSON format also stores location data in decimal.
  3. Google Maps uses decimal as well.

TL;DR: Store the Lat Lon in Decimal format, so that both client & server can prevent unnecessary type casting.