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

Add Subscriptions #111

Open
1 task
AbhijithGanesh opened this issue Jan 4, 2023 · 6 comments
Open
1 task

Add Subscriptions #111

AbhijithGanesh opened this issue Jan 4, 2023 · 6 comments

Comments

@AbhijithGanesh
Copy link

AbhijithGanesh commented Jan 4, 2023

Motivation

GraphQL has support for event subscriptions, We need a Rust based ORM support that extends GraphQL which extends support for something like a continuous steam of data.

To quote Apollo GraphQL docs:

Like queries, subscriptions enable you to fetch data. Unlike queries, subscriptions are long-lasting operations that can change their result over time. They can maintain an active connection to your GraphQL server (most commonly via WebSocket), enabling the server to push updates to the subscription's result.

Blocked

Proposed Solutions

  • Implement a solution for Subscriptions based on the following:

Additional Information

Reference:

@AbhijithGanesh
Copy link
Author

@billy1624 I would love to work on this

@billy1624
Copy link
Member

Hey @AbhijithGanesh, thanks for the write up!!

async-graphql already has subscription utility where we can use it out of the box

However, as you said, we still need SeaORM to stream the updates or events to be exact.

@billy1624
Copy link
Member

So, this issue is blocked. We need to wait SeaORM to implement the event stream first.

Maybe we can work on GraphQL mutation APIs at the meantime?

@AbhijithGanesh
Copy link
Author

@billy1624 Can you maintain a project board for reference, it will be very useful for our developers to keep track of what blocks what ?

@AbhijithGanesh
Copy link
Author

I personally think, we should do the Mutation APIs first, then come to subscriptions

@karatakis karatakis added this to the Good to have features milestone Apr 2, 2023
@iho
Copy link

iho commented Jan 22, 2024

Do you need any help with that?

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

4 participants