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

discussion: async-graphql vs jupiter and diesel vs tokio-postgres vs sqlx #33

Open
olexiyb opened this issue Jun 29, 2020 · 1 comment

Comments

@olexiyb
Copy link
Collaborator

olexiyb commented Jun 29, 2020

@clifinger did you know about async-graphql
At this moment this solution has more features and I feel better then use of jupiter.
I personally followed the implementation of twentyfive-stars and liked the interface more than Jupiter. Jupiter supports async, but not released yet and Jupiter lack of good documentation when async-graphql has excellent book

During the investigation, I came across sqlx and found this native rust driver feature to verify SQL during the build is awesome and helps to find bugs before the actual run.

There are actually 3 choices:

I have tried all 3 and finally stopped on sqlx, diesel is crazy complex and not native driver, tokio-postgres is too basic and sqlx is a very good balanced generic solution and I feel performance would be better as it does not have a dependency on libpq (C driver)

I think, that for Bollerplate we need to pick the best solutions on the market and diesel and Jupiter are not the best

@olexiyb olexiyb changed the title discussion: async-graphql vs jupiter and diesel vs tokio-postgres discussion: async-graphql vs jupiter and diesel vs tokio-postgres vs sqlx Jun 29, 2020
@LegNeato
Copy link

Not to be rude, but your info is wrong and presented as fact. Please refrain from making such sweeping statements.

Juniper has a book that covers just as much if not more:

https://graphql-rust.github.io/juniper/master/

async-graphql appears to have more features but many of them do not belong in a library and push async-graphql into framework territory. Juniper is firmly in the library camp. It's mainly preference and what you are looking for. The GraphQL featurset is the same for both (minus interfaces on Juniper master, which we are revamping). If there are missing GraphQL features, please file tasks on Juniper!

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