Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
59 views

I am using Quarkus 3.27.0 and trying to secure GraphQL subscriptions with the @Authenticated annotation. I pass the Authorization header with a valid token when connecting, but the subscription ...
0 votes
0 answers
70 views

How can I secure a Quarkus GraphQL @Subscription endpoint using Quarkus security mechanisms (e.g. using the @Authenticated annotation, the same way we would do it on a @Query)? Our Angular frontend ...
0 votes
1 answer
75 views

I'm trying to call the graphq-ws createClient exposed "on" Event from react component Let's say I have to call some function api call when user gets disconnect or gets connected const ...
0 votes
2 answers
707 views

I am using Nestjs API with @nestjs/graphql. On a Next.js front I am trying to subscribe to an authenticated GraphQL subscription, it works with WebSocketLink but not GraphQLWsLink. My resolver is @...
0 votes
0 answers
297 views

I'm encountering an issue with setting cookies on the server side of my project, which involves Apollo Server, Express, and Next.js. Despite the server-side code executing without errors, the cookies ...
0 votes
1 answer
1k views

I am using apollo client and graphql-ws library for subscription. I have the following requirement. Server redeploys every morning and that time the existing subscription gets completed. I need to ...
1 vote
1 answer
1k views

I have a particular feature where I require to implement a second graphql client (using @apollo/client) that uses the old ws protocol for subscriptions - the other graphql client uses the latest one. ...
1 vote
1 answer
787 views

I have a NODE application that also acts as a GraphQL client. I need to fetch the data from a GraphQL server using SUBSCRIPTION requests. The GraphQL server validates the incoming HTTP upgrade message ...
1 vote
1 answer
342 views

I'm struggling with this all day long, I want to implement subscriptions feature on my mongodb-express-graphql-nextjs project. I can't use context.pubsub in resolver. Am I missing something? please ...
0 votes
1 answer
500 views

Here is my graphqlClient.ts file: import { ApolloClient, HttpLink, ApolloLink, InMemoryCache, concat, Operation, NextLink, FetchResult, Observable, split, } from '@apollo/client'; ...
1 vote
0 answers
459 views

I need to apply authentication in graphql subscription. I find the documentation and from the documentation - @Module({ imports: [ ConfigModule.forRoot({ isGlobal: true }), ScheduleModule....
0 votes
1 answer
763 views

I have a nextjs(client side) project, I followed this to subscribe to my graphql subscription but I got "WebSocket implementation missing; on Node you can import WebSocket from 'ws'; and pass ...
1 vote
0 answers
247 views

I am trying to implement Websocket using apollo client GraphQLWsLink. Which is not at emitting the data. However the Websocket connect is alive only. What I observed from the network tab is the query ...
0 votes
1 answer
274 views

This is how I have setup app.js: /** * Importing Packages */ require("dotenv").config({ path: `./env/.env-${process.env.NODE_ENV}` }); const express = ...
3 votes
1 answer
565 views

I'm using gqlgen for my service and apollo client and graphql-ws for my front end and I'm trying to use a subscription and it perfectly works in my playground but when i try to connect the client to ...

15 30 50 per page
1
2

AltStyle によって変換されたページ (->オリジナル) /