You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's take getLocationsByRadius() as an example. Currently the parameters get passed like this (center, radius, startAt = 1, endAt = undefined). This is pretty hard to understand for the user...
There should just be one object passed as parameter e.g. getLocationsByRadius({ center: { lat: 1, lng: 1 }, radius: 5, startAt: 1, endAt: 2 })
All the validations and the tests need to be modified. (Just the way they get passed to the validators is important!)
The text was updated successfully, but these errors were encountered:
Let's take
getLocationsByRadius()
as an example. Currently the parameters get passed like this(center, radius, startAt = 1, endAt = undefined)
. This is pretty hard to understand for the user...There should just be one object passed as parameter e.g.
getLocationsByRadius({ center: { lat: 1, lng: 1 }, radius: 5, startAt: 1, endAt: 2 })
All the validations and the tests need to be modified. (Just the way they get passed to the validators is important!)
The text was updated successfully, but these errors were encountered: