Closed ravi-poonia closed 1 year ago
The firestore dev mock does not support the changestream, so this is not testable in the CI. Also I do not have a firebase account atm, so please make a PR with a proposed fix.
I made the change and it seems to be working, but the index issue I reported earlier is still there, Firebase requires us to create one-time indexes which it informs us by throwing an error, but the weird thing is, the msg from that error is not shown in console, so I made a change in the error parse method, I think this should fix it.
@pubkey I want to push these changes against the v13 as I'm using that one right now, can you let me know against which branch should I create the PR?
Please make a PR against the latest master. There will be no more v13 release.
I can't migrate to v14 right now, I'm currently using the leveldown with pouchDB, so it's a huge change to migrate to v14, can you provide any suggestion.
You can fork the repo at the v13 tag and patch your fork
The 13.17.1 tag is at the wrong commit btw, can you pls update it, Thanks
Closing this. Please make a PR.
RXDB version : 13.17.1
Firebase replication throws the following error:
As you can see, its impossible to figure out what the issue is from the above error message. Finally i was able to figure out something after trying out the
test:replication-firestore
test with real firebase config.After digging some more into it, I think the culprit is this line https://github.com/pubkey/rxdb/blob/7607a8b9b2346f5de962eac9d2e04045a36d599c/src/plugins/replication-firestore/index.ts#L135
After this also it kept throwing some errors about indexes, I'm not sure about those. I'll have to look into it some more, but the above mentioned is a sure issue.