Sylvanus Kateile

Results 27 comments of Sylvanus Kateile

I think it will be really helpful if we have `chache keys`. So we can have option to invalidate a certain cache like `client.cache.invalidate('my-posts-key')` and only posts cache will be...

I am asking my self similar question. in react apollo we can do something like ``` const link = createHttpLink({ uri: '/graphql', credentials: 'same-origin' //or credentials: 'include' }); const client...

@rajihawa have you found solution?

@rajihawa thanks for response. Can you also help me how you save cookies to requests library?

@rajihawa nice trick. But the server I am working with expose only GraphQL api. I think my workaround would be to use requests to send post to graphQL endpoint. Thanks...

@rajihawa I have multiple cookies and try to extract them by using ```dart Future getCookie() async { try { final hostname = Requests.getHostname(graphqlEndpoint); final Map map = await Requests.getStoredCookies(hostname); final...

v4 have option for using other links. I use [gql_dio_link](https://github.com/TarekkMA/gql_dio_link) and with dio you can use ``` final dio = Dio(); final cookieJar = CookieJar(); //PersistCookieJar(); //todo. dio.interceptors.add(CookieManager(cookieJar)); final Link...

> I fixed it with the below steps. > > https://youtu.be/aIZdwgrnbW4 Why bother with video link. Just tell people to downgrade to 1.1.0 . It is that simple

@syssam I tried using your solution but still getting the following error: ``` /C:/flutter/.pub-cache/hosted/pub.dartlang.org/gql_dio_link-0.1.0/lib/src/dio_link.dart:106:19: Error: Required named parameter 'response' must be provided. yield Response( ^ /C:/flutter/.pub-cache/hosted/pub.dartlang.org/gql_exec-0.3.2-alpha+1635885531651/lib/src/response.dart:23:9: Context: Found this candidate,...

That will be amazing