async-graphql / examples

217 stars 54 forks source link

Rocket examples #35

Open servonlewis opened 3 years ago

servonlewis commented 3 years ago

Hello all,

Can we please have more examples with rocket?

Similar to actix, with subscriptions and authentication tokens?

servonlewis commented 3 years ago

Actually the token example should be the same from actix if I'm not mistaken, but the subscription websocket implementation would be great

sunli829 commented 3 years ago

Sorry, I don't know how to use Rocket. 😁

servonlewis commented 3 years ago

Sorry, I don't know how to use Rocket. 😁

Lol word. Hopefully someone who does can give it a shot.

I really like how rocket is built, but it looks like it doesn't have native websocket support yet, or the thread I read is outdated.

sunli829 commented 3 years ago

Sorry, I don't know how to use Rocket. 😁

Lol word. Hopefully someone who does can give it a shot.

I really like how rocket is built, but it looks like it doesn't have native websocket support yet, or the thread I read is outdated.

This seems to be the case, and the async support of Rocket has not yet been released.

servonlewis commented 3 years ago

Sorry, I don't know how to use Rocket. 😁

Lol word. Hopefully someone who does can give it a shot.

I really like how rocket is built, but it looks like it doesn't have native websocket support yet, or the thread I read is outdated.

This seems to be the case, and the async support of Rocket has not yet been released.

I hear that. I love this crate, it's incredible. I currently use actix but was looking to transition to rocket once it's async in production.

Is there any plans to increase the amount of examples once that happen and time has passed for learning?