@Subscription on Apollo v2 and v3 #1018
Replies: 4 comments 2 replies
-
I don't see TypeGraphQL here: |
Beta Was this translation helpful? Give feedback.
-
@MichalLytek - Sorry made a mistake, fixed now ! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@MichalLytek - Thanks I realized how stupid I was at 6am this morning and got it working. I have update the above repos. Just need to do a proper example for graphql-ws now :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have some near standard code hear taken from https://github.com/the-road-to-graphql/fullstack-apollo-subscription-example which is version 2 and I modified to work with version 3.
https://github.com/AaronNGray/fullstack-apollo-3.0-subscription-example
I have modified to use type-graphql. What I am doing wrong it might just be in the @subscription code on v2 :-
https://github.com/AaronNGray/fullstack-apollo-2.1.0-subscription-type-graphql-example
I have also modified the version 3 code to use type-graphql :-
https://github.com/AaronNGray/fullstack-apollo-3.0-subscription-type-graphql-example/
I am getting the same results on each with the type-graphql subscription code not working. Its probably down to my code on v2 :-
Beta Was this translation helpful? Give feedback.
All reactions