Skip to content
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

GraphQL / Irmin OCaml / Javascript #2317

Open
christopherreay opened this issue May 17, 2024 · 0 comments
Open

GraphQL / Irmin OCaml / Javascript #2317

christopherreay opened this issue May 17, 2024 · 0 comments

Comments

@christopherreay
Copy link

Hello. What a wonderful community. Just discovered this and MirageOS couple of weeks ago researching for tools for a project. It is refreshing to see such clear formal skills and communication.

Anyway :)

Soooo.... oh right, so I am probably going to use Irmin as a store. Im working in node.js / browser. I have read the work that was done on exporting Irmin to javascript with... ocaml_to_js.

What I am thinking is that it makes the most sense for me to run Irmin in native OCaml, and connect to it through the GraphQL server on localhost on the server (dont need direct clientside interactions). Then I assume I would be able to do things like create types and merge strategies without any issues directly in OCaml.

Is there any downside to this approach? Did the javascript conversion get finished? Is there a downside to using javascript directly in general?

Sorry if this is a big vague, but Ive only just bumped into the OCaml ecosystem, and I have about 6 weeks to deliver a more or less completed app :), so a wee nudge in early context has value to me.

Tyty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant