Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Allow nested geos, dates and refs for import #47

Closed
vandres opened this issue Apr 19, 2020 · 1 comment
Closed

[FR] Allow nested geos, dates and refs for import #47

vandres opened this issue Apr 19, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@vandres
Copy link
Contributor

vandres commented Apr 19, 2020

I am trying to import some data, but my data in the documents is nested. For example:

location: {
  geohash: 'xxx',
  geopoint: {
    _latitude: '...',
    _longitude: '...'
  }
}

When I try to import now with the following, it doesn't work. Would be very nice, if the restore function would traverse the JS-Object, when a "." is present.

firestoreService.restore('collections.json', {
    geos: ['location.geopoint'],
});
@dalenguyen dalenguyen added the enhancement New feature or request label Apr 21, 2020
dalenguyen pushed a commit that referenced this issue May 26, 2020
Added support for nested geo #47
@dalenguyen
Copy link
Owner

Added in v0.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants