Hugo Denisse

Results 8 comments of Hugo Denisse

I wrote this hook as a temporary workaround // useMyLazyQuery.ts ```ts import { ApolloQueryResult, OperationVariables, QueryOptions, TypedDocumentNode, useApolloClient } from '@apollo/client'; import { useCallback, useRef, useState } from 'react'; export...

@sztadii Personally I like this idea, it would make it work like a `useMutation` which I think is easier :)

Had this issue with a `beforeRequest` hook function that wasn't `async` I added the `async` keyword and for some reason it solved the issue

@tobiasschweizer I created a custom hook, see https://github.com/apollographql/apollo-client/issues/9317#issuecomment-1014792893

Did some tests again this morning and I believe this has to do with the fact that the yamls are stored in subfolders. If I move the yml and js...

Hello @bernardobridge My original folder structure looks like this (minus node_modules folder): ``` . ├── login │   ├── full-funnel.yml │   ├── functions.js │   └── login.yml ├── package.json ├── package-lock.json └──...

``` /** * file://./../package.json */ ``` Tried this on Mac OS and it works, on Windows 11 it doesn't: `Unable to open 'package.json'` 😞

Using 0.50 on my side fixed the issue index.tsx ```ts import { loader } from '@monaco-editor/react'; // force using 0.50 because 0.52 crashes when unmounting the DiffEditor loader.config({ paths: {...