Closed fergusmeiklejohn closed 3 years ago
No, this is undocumented and should not be used, it might change in the future. Vuex-easy-firestore is meant to deal with Firestore, you shouldn't use it to get that kind of info which comes from Firebase Auth, which is technically another service.
I wonder if there is a way to hide those getters in Vue dev tools? It's an invitation to make a mistake otherwise.
I don't know, let us know if you find out!
I was adding a loggedIn getter to the user module and noticed that there is a
signedIn
getter provided by VuexEasyFirestore. I can't find anything about it in the docs, can we rely on it to determine whether a user is signedIn?