get-convex / get-convex/prosemirror-sync

How to hook into the triggers mechanism from prosemirror-sync ?

Open
#185 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
62
Forks
21
Avg merge
5h 25m
Merged PRs (30d)
1

Description

Hello,
I would like to fire a trigger when there is db change caused by onSnapshot callback. AFAI to use triggers in need to wrap the base mutation but I don't find a way to pass the custom mutation to prosemirror-sync. Is there a way to achieve that except from patching the node_modules ?

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by tracing the onSnapshot callback and the base mutation path in prosemirror-sync, then determine how triggers are invoked for database changes and whether a custom mutation can be passed without patching node_modules. Done means the supported integration path, or the required project change, is clearly established.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.