Skip to content

Is combineYUpdates in db.go the same as Y.mergeUpdates #1

@ashishbhate

Description

@ashishbhate

First off, thanks for publishing this code. It's really helpful for working with YJS in Go.
This isn't an issue as much as a discussion, but discussions aren't enabled in this repo.

What is the difference between combineYUpdates in db.go and Y.mergeUpdates from the original JS API and merge_updates from the rust API?

IIUC you had to write out a combineYUpdates function simply because the TFFI CFFI doesn't expose a mergeUpdates function?

I'm not familiar with YJS, so I was wondering if there was something else I was missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions