-
Notifications
You must be signed in to change notification settings - Fork 16
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
tartiflette-starlette
vs tartiflette-aiohttp
#19
Comments
tartiflette-starlette
vs tartiflette-aiohttp
Hello @florimondmanca
👍 You're right, ASGI is more interoperable than HistoryAt dailymotion we use NowThe FutureBased on your contribution of For instance, I will be delighted to expose an equivalent and consistent set of features on both
Regarding the documentation on tartiflette.io, when the |
Thanks for the historical point of view @tsunammis.
Absolutely. More tools for people to choose from!
Great idea — gives a clearer roadmap as to what should be featured to provide the Tartiflette experience for both current and future maintainers of transport-specific libraries.
Sure! Good idea to have documentation on the Tartiflette website for both. Where should we track this so it's visible and we (I, in particular) don't forget about it? |
I'll keep you posted ;-)
If you are interested to work on, let me know. To build together this double documentation. |
Sure! I can try and draft an equivalent of the current aiohttp-based tutorial — which would probably highlight which parts are still to be implemented here. |
The documentation takes place in the tartiflette repository. There are explanations about "How to contribute to the documentation" on the README. 👍 To be "mergeable", I would like to provide an equivalent feature set both on
|
Hey @tsunammis, I'm taking a look at this today. In your previous comment, you wrote:
What do you refer to with "Query" here? Users are already able to specify a Edit: I have the same question about mutations actually, because that seems to be a generic Tartiflette feature which is not specifically implemented in |
Sorry, I think that my message wasn't clear enough. To be consistent with But this is not the case for the |
Okay, so we agree that of query, mutations and subscriptions, only subscription support is missing. Thanks! |
You're right 👍 |
I laid the roadmap out in #20, and also opened tartiflette/tartiflette#230 for the documentation updates. I think we can close this issue now! 👍 |
👍 |
Both
tartiflette-starlette
and tartiflette-aiohttp pursue the same goal: provide an HTTP transport layer for Tartiflette.Currently, the Tartiflette docs and repo officially recommend
tartiflette-aiohttp
.While I think
tartiflette-aiohttp
is pretty cool, I have some doubts about its potential as far as integrating into other systems. It seems to meaiohttp
applications are "proprietary" and don't rely on a widely accepted standard (maybe I'm wrong, please correct me if that's the case). On the other hand, ASGI is now a standard — it's used everywhere in the Python async web ecosystem and it allows libraries to integrate with one another using a single unified language.For this reason, I would be fine with (if not in favor of) gradually shifting to
tartiflette-starlette
as the official recommendation for Tartiflette-over-HTTP — once it reaches a stable enough state.If we were to do this, I think we should reconsider the decision we took to rename it from
tartiflette-asgi
(see #4). IMO this name (tartiflette-asgi
) better reflects why this library was built and why users would want to use it, instead of how it achieves that goal (i.e. using Starlette).@tsunammis @abusi Happy to discuss this with you!
The text was updated successfully, but these errors were encountered: