You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like there are an error in firebase collection method.
I try to create collection refference from collection reference and get unxpected path elements order.
Relevant Code:
import{getFirestore,collection}from'firebase/firestore'constartistsRef=collection(getFirestore(),'/events/some_event_id/artists')constartistSongsRef=collection(artistsRef,'some_artist_id','songs')console.log(artistsRef.path)// events/some_event_id/artistsconsole.log(artistSongsRef.path)// events/some_event_id/artists/songs/some_artist_id <- ERROR it should be events/some_event_id/artists/some_artist_id/songs
Environment
Problem
Looks like there are an error in firebase collection method.
I try to create collection refference from collection reference and get unxpected path elements order.
Relevant Code:
I think this code cause problem https://github.com/firebase/firebase-js-sdk/blob/master/packages/firestore/src/lite-api/reference.ts#L390
The text was updated successfully, but these errors were encountered: