codediodeio / geofirex

:globe_with_meridians: :round_pushpin: Geolocation Queries with Firestore & RxJS
https://geo-test-c92e4.firebaseapp.com/
477 stars 107 forks source link

Cannot use geopoint field as nested object #25

Open satbirsandhu opened 5 years ago

satbirsandhu commented 5 years ago

My firestore data has geopoint object as nested field, see attached data structure.

I am not able to specify path to my geopoint. const field = address/geoLoc; const field = address.geoLoc; nested geopoint object.pdf

It works fine when I have geoLoc at root of my collection. root geopoint.pdf

JustServ commented 5 years ago

Did you figure this out? I have my geoLoc nested in an object too. I'd expect something like address.geoLoc should work for the field, but I just get back null

rjburdish commented 5 years ago

Hey guys, I know this has been posted for a while now, but I just created a pull request to address this.

satbirsandhu commented 5 years ago

Thanks for looking into it and letting me know. Satbir

On Sun., Jun. 9, 2019, 8:40 p.m. Richard Burdish, notifications@github.com wrote:

Hey guys, I know this has been posted for a while now, but I just created a pull request to address this.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/codediodeio/geofirex/issues/25?email_source=notifications&email_token=AJBFGIBCY4Y5B34WKZLTQCDPZWPITA5CNFSM4GJJNF42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXIVQ5A#issuecomment-500258932, or mute the thread https://github.com/notifications/unsubscribe-auth/AJBFGIB4NIRAFHZESKJVHR3PZWPITANCNFSM4GJJNF4Q .