Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Erlang compatibility #78

Open
joshprice opened this issue Mar 25, 2016 · 4 comments
Open

Erlang compatibility #78

joshprice opened this issue Mar 25, 2016 · 4 comments

Comments

@joshprice
Copy link
Member

Make it possible and easy to call GraphQL Elixir from pure Erlang (and LFE, etc).

@joshprice
Copy link
Member Author

Add rebar3 support so that Elixir/Mix isn't required

@marutha
Copy link

marutha commented Jun 12, 2016

+1 any updates on this or sample how we can define and call in pure Erlang?

@joshprice
Copy link
Member Author

The standard way to do this is described here: http://elixir-lang.org/crash-course.html#adding-elixir-to-existing-erlang-programs

Can you try it out and report back any issues you find?

@marutha
Copy link

marutha commented Jun 18, 2016

Yes, I did give a try on this and did succeed to a good level, but downside is we have an dependency that we have to define the schema and resolve functions in elixir and and compile them in elixir and then only we can call them in Erlang.

Also we have to ensure that 'Elixir' lib directory is added to "lib" of Erlang.

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

No branches or pull requests

2 participants