Skip to content

Conversation

@palkan
Copy link
Owner

@palkan palkan commented Nov 18, 2024

Description

This PR demonstrates how to use pglite and electric-sql with Rails on Wasm.

Implementation notes

  • We include a patch for Ruby to fix the stack size issue with asyncify. It might be required to re-build all the Ruby Wasm artifacts (rb -rf build/ rubies/) to make the patch work.

  • We also include a custom build of the pglite-sync package, because the official one doesn't allow using @electric-sql/client v0.7.x and v0.6.x just doesn't work 🤷‍♂️.

@palkan palkan added the Demo label Nov 18, 2024
@martinGerez
Copy link

Thank you for your contributions on this topic! Did you ever faced with the challenge of implement write-paths of electric-sql? Do you know where can I find docs, perhaps?

@palkan
Copy link
Owner Author

palkan commented Apr 8, 2025

Did you ever faced with the challenge of implement write-paths of electric-sql? Do you know where can I find docs, perhaps?

No, I haven't dug that deep yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MatchData#end returns invalid offset when called within evalAsync

3 participants