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

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 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

2 participants