I need to access the suburb field from the results coming from openstreetmap, as this is the field holding the area name in some countries. (i.e. Egypt)
I have two suggestions:
Just add the field to results set (vote down)
Add _raw object to result set, which should return the raw result from provider (vote up)
Obviously option 2 is reusable for other providers. Which would modify the Entry type to have extra _raw : object
I can submit a PR for either one. Please let me know which path would you recommend
At first: Thanks for the great package.
I need to access the
suburb
field from the results coming from openstreetmap, as this is the field holding the area name in some countries. (i.e. Egypt)I have two suggestions:
_raw
object to result set, which should return the raw result from provider (vote up)Obviously option 2 is reusable for other providers. Which would modify the
Entry
type to have extra_raw : object
I can submit a PR for either one. Please let me know which path would you recommend