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

Miscellaneous bindings changes from integration #60

Merged
merged 7 commits into from Sep 1, 2020
Merged

Miscellaneous bindings changes from integration #60

merged 7 commits into from Sep 1, 2020

Conversation

aboodman
Copy link
Contributor

@aboodman aboodman commented Sep 1, 2020

No description provided.

@vercel
Copy link

vercel bot commented Sep 1, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/rocicorp/replicache-sdk-js/d2dbj9qvf
✅ Preview: https://replicache-sdk-js-git-misc.rocicorp.vercel.app

@aboodman aboodman requested a review from phritz September 1, 2020 07:59
@vercel vercel bot temporarily deployed to Preview September 1, 2020 08:40 Inactive
@aboodman aboodman merged commit c0652bc into master Sep 1, 2020
Copy link
Contributor

@phritz phritz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

if (beginSyncResult.syncHead !== '00000000000000000000000000000000') {
// replicache-client sends all zeros for null sync,
// repc sends empty string.
if (beginSyncResult.syncHead.replace(/0/g, '') !== '') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can probably go now

@@ -272,7 +274,7 @@ export default class Replicache implements ReadTransaction {
}
}

const {batchPushInfo} = syncInfo;
const {batchPushInfo} = {...syncInfo};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are still not returning this (the syncinfo), you or @arv please file an issue if it is important to prioritize

checkStatus(syncInfo.clientViewInfo, 'client view');
const {clientViewInfo} = {...syncInfo};
if (clientViewInfo) {
checkStatus(syncInfo.clientViewInfo, 'client view');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same: not yet returned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants