-
Notifications
You must be signed in to change notification settings - Fork 609
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
Appview v1 generating and ingesting mute ops w/ bsync #2067
Conversation
subject: subjectDid, | ||
}) | ||
} catch (err) { | ||
req.log.warn(err, 'failed to sync mute op to bsync') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think we wanna throw here if bsyncOnlyMutes
is true because then the operation failed
if it's false then it was partially applied but presumably the local db is considered the canonical state?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep 💯 thanks for nabbing that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good 👌
just the open question on error handling
Two main changes here:
Along the way I got bsync setup in the dev-env package, and made a small change to the convention for where built protos are written (now built into the package's
src/protos/
rather than the more ambiguoussrc/gen/
).