Giter Club home page Giter Club logo

Comments (8)

f-tepel avatar f-tepel commented on August 31, 2024

Would love to have that as well!

from graphql-ws.

SmileyChris avatar SmileyChris commented on August 31, 2024

@ldynia and @f-tepel -- got any time to help with that? I'd love to get a graphene 3 branch underway.

from graphql-ws.

f-tepel avatar f-tepel commented on August 31, 2024

What would have to be done? (I am new to open-source) @SmileyChris

from graphql-ws.

pgzmnk avatar pgzmnk commented on August 31, 2024

from graphql-ws.

ceelian avatar ceelian commented on August 31, 2024

Also looking forward how/if it is working with graphene v3

from graphql-ws.

jtc3161 avatar jtc3161 commented on August 31, 2024

Hey if anyone is interested, I have a github repo here: https://github.com/jtc3161/graphql-ws-aiohttp that is a fork of https://github.com/dls-controls/graphql-ws-aiohttp, which was written by @callumforrester who posted #90 a while back.

I have:

  • implemented the newer "graphql-transport-ws" protocol ("graphql-ws" was deprecated a while back)
  • production tested against both the python and Typescript graphql-ws client implementations, with android, ios and web clients actively using it.

Some of my thoughts:

  • maybe we should support both graphql-ws and graphql-transport-ws as a way to support older clients, though the Typescript server does not do this, so I didn't either in this repo.
  • This is a downstream fork of graphql-ws-next and not graphql-ws. graphql-ws next is much closer to the typescript reference implementation though so I do not think that is a downside.

Unfortunately I'm neck deep in the project that I built this for, so the repo is not exactly up to the standards of most oss projects, but I could definitely spend some time fleshing this out more if there is any buy in from maintainers.

from graphql-ws.

erikwrede avatar erikwrede commented on August 31, 2024

@jtc3161 awesome work! Maybe there's a way to integrate this with graphql-server so we reduce the amount of libraries we need to maintain. /cc @kiendang

Feel free to join our discord server and ping us there!

https://discord.gg/UszdMbZhdc

from graphql-ws.

kiendang avatar kiendang commented on August 31, 2024

There's an implementation for Subscriptions via WebSocket in the v3 branch of graphql-python/graphql-server. I've create graphql-python/graphql-server#112 to track making official support for it. As Erik said if you're interested in GraphQL Subscriptions for Graphene 3 please join the Discord server to discuss.

from graphql-ws.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.