Feature Request: Support for Custom Type Projections in ShareDB
Author: csbenjaminCreated Sep 1, 2023Updated Sep 1, 2023
Hello,
I'm currently working with a custom type in ShareDB and am keen on implementing projections for it. Upon reviewing the source code, I noticed that the functions within lib/projections.js appear to be tailored specifically for the json0 type.
To enhance the versatility of projections in ShareDB, would it be possible to add an option in the ShareDB constructor that permits users to provide custom functions tailored to their specific type operations?
Additionally, I'd like to clarify if the functions present in lib/projections.js are the sole methods that need adaptation for the successful integration of projections with custom types?
Thank you for considering this request.
Source: share/sharedb