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

Get document / supply a document deserializer #2

Closed
megamidge opened this issue Mar 25, 2022 · 2 comments
Closed

Get document / supply a document deserializer #2

megamidge opened this issue Mar 25, 2022 · 2 comments

Comments

@megamidge
Copy link
Contributor

This is a feature request.

It would be handy if either:

  • The API synced the ID of each document a long with it's data. Ideally as a non-enumerable property.
    OR
  • Allow a deserializer to be passed. Would be a function that is passed the snapshot, and returns the data to put into the store.

May have a look at integrating the first option if I find some time.

@megamidge
Copy link
Contributor Author

megamidge commented Mar 25, 2022

I've addressed the first bullet point #3.

@kazuooooo
Copy link
Owner

@megamidge
I've released v1.1.0 thank you for your cooperation🥰

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

No branches or pull requests

2 participants