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

Help! Add Support for FireStore #90

Open
OR13 opened this issue Oct 5, 2017 · 0 comments
Open

Help! Add Support for FireStore #90

OR13 opened this issue Oct 5, 2017 · 0 comments

Comments

@OR13
Copy link
Member

OR13 commented Oct 5, 2017

https://firebase.google.com/docs/firestore/

Are you excited for firestore?

want to learn how to use it by extending our persistence class to support a configurable collections based cache for each of the readModelTypes?

  export interface IPersistenceStore {
    getItem: (key: string) => Promise<Object>
    setItem: (key: string, value: Object) => Promise<Object>
  }

the key string here will always contain the type.

Instead of using local storage, we should be using an indexed collection with Firestore!

@OR13 OR13 changed the title Add Support for FireStore Help! Add Support for FireStore Oct 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant