theduke
Hey there.
I want to try out GraphQL in Elixir for a small project,
and there seem to be two competing implementations for Elixir.
http://graphql-elixir.org/ and http://absinthe-graphql.org/.
Both recently active and with equal amounts of GH stars.
Does anyone have experience with either, and can comment on the differences?
Trending in Questions
Hello!
Suppose you are building workflow (order / task / payment) processing system with the following requirements:
Each workflow con...
New
I’m aware of 2 such projects, are there others?
git: GitHub - team-alembic/realworld: A fullstack Phoenix LiveView application with back...
New
Hi everyone.
My team and I have been working on a fairly modest app based around video streaming and chat, but we’ve landed a customer t...
New
I really like the adapter patterns that ecto, nebulex, waffle, etc. use and would love find something similar for a key management servic...
New
Hello folks!
So at work, we are seeing some situations where we have to define some “fixed” strings that are used across the codebase in...
New
How Can I Optimise Compile Time Dependencies
I have been building an elixir application for about 2 years now. Many modules and files ha...
New
Hi,
we run different LLM models across a cluster, with each node loading a configurable subset. Model-specific queues let nodes consume ...
New
Other Trending Topics
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
I love Elixir. It’s one of 2 programming languages I’ve ever fallen in love with.
But I don’t use it anymore.
Serverless was the promis...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #ai
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #blog-post
- #elixirconf-us
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #elixirconf-eu
- #api
- #forms
- #security
- #hex










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
OvermindDL1
I’ve used a bit of absinthe, but from what I’ve seen it seems GraphQL is more low level and last I saw it did not have the (graphql-spec-required) documentation paths. Absinthe does more for you and follows the spec better, but you do have to work ‘within’ it more. I ended up choosing Absinthe for a few reasons and of the little area I’ve used it, it was quite nice.
For note, GraphQL is a lot older than Absinthe, Absinthe is quite new and was made to follow the spec as well as it does. If they have the same stars now (they certainly did not when it was new just recently) then that says something about Absinthe as well.
benwilson512
Hey there!
Disclaimer: I’m one of the authors of Absinthe. You can find my slides from ElixirConf here, hopefully the talk itself up soon: No REST for the Wicked - Speaker Deck
Absinthe was created about 9 months ago when we really wanted to use GraphQL in production here at http://cargosense.com/. At the time graphql-elixir was still rather young and we had production needs we wanted to move on very quickly.
Our goal was to make something correct, easy to use, idiomatic, and performant. In concrete terms this means we right now:
It means in the future:
@defer,@liveDo you have any specific questions?
collegeimprovements
Absintheis the one you should go for at this time. They are also very active on slack and are nice people.The only thing I found troublesome is that we use
guardianfor authentication and though we are able to seegraphiql, it doesn’t work: means we can see the schema but we are still not able to run any query throughgraphiql!OvermindDL1
I use guardian and I have absinthe in a little area as a test in my big server, although I have the guardian token given to the client and they pass it back with each request, so it is done very manually, not 'plug’y.
theduke
Thanks guys, I’ll start out with Absinthe then I guess.
adamk
@collegeimprovements if you are using jwt, you can manually add the auth header including the token in graphiql and assuming it’s valid, you should be able to reach your secure endpoints as well.
benwilson512
We found a version of GraphIQL the other day that made setting headers easy, we hope to add that soon. With that capability it should be easy to set JWT headers or other header based authentication methods.
mkunikow
Maybe little off topic but there is interesting project https://scaphold.io/ GraphQL as service. Could be nice alternative to Firebase. They are using https://www.rethinkdb.com/ as database.
GraphQL Archives - Software Engineering Daily
themarlzy
Is the talk up now?
I’ve just finished the elixir fountain Ep where you talked about this and interested to see it. I think I read in another thread it was recorded through a piece of cheese, so the audio caused it to be torn from us?
benwilson512
Yeah they took it down to do further process. Unfortunately it is still not up yet. Mine was not the only one affected. Definitely frustrating.