-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Malformatted Revision in getHeightOfRevision (Supabase Example) #6831
Comments
No it should not be required to manually set revisions. Please make a PR with a unit test or something that reproduces your problem. |
Thanks for your reply! I run the given unit tests in {
"test:e2e": "testcafe safari -e test/ --hostname localhost"
} then I met the same error in TestCafe: ![]() The output log:
|
Can you make a PR with that so that the CI fails? Shouldnt this also fail in chrome and firefox? Or is it browser specific? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed soon. Please update it or it may be closed to keep our repository organized. The best way is to add some more information or make a pull request with a test case. Also you might get help in fixing it at the RxDB Community Chat If you know you will continue working on this, just write any message to the issue (like "ping") to remove the stale tag. |
I’m integrating the Supabase example into my project ([email protected]), but inserting a new object results in the following error:
After inspecting
createRevision
, I found that_rev
frompreviousDocData
is used to generatenewRevisionHeight
. However, logging docData inpreInsert
(which corresponds topreviousDocData
increateRevision
) shows that_rev
is an empty string:Manually adding
_rev
in the insert handler makes it work, but I’m unsure if this is a proper workaround:Is
_rev
expected to be set manually before insertion, or is this a bug in the example? Looking for guidance on the correct approach.The text was updated successfully, but these errors were encountered: