Johnny Oshika

Results 71 comments of Johnny Oshika

@thomassuckow Interesting. Is there documentation where`onCompleted` and memoization is discussed? Can you point me to some sample code where a callback like that is memoized? Thanks in advance.

@thomassuckow that works perfectly, thank you! So if I understand correctly, `useQuery` re-requests the GraphQL request if any of the paramaters are different (using shallow comparison, I assume).

Note: the pagination problem after a new comment is added has been fixed with this commit: https://github.com/the-road-to-graphql/react-graphql-github-apollo/pull/29/commits/b20e7a133c9e56a63e7fb537bafaf4c2285fd7d1

I'm also interested in this

I'm having the same problem too ☹️

Still seems to be a problem 😔 @teebu How did you add the `cloudfunctions.functions.list` permission to the service account? Did you have to add the whole `roles/cloudfunctions.viewer` role?

I couldn't wait for the fix, so I ended up adding the `cloudfunctions.viewer` role (aka `Cloud Functions Viewer`) to the service account and deployment worked

I had to modify @NevilleDubuis's code slightly to always call `editor.selection.restore()` otherwise `onModelChange` wouldn't trigger on paste: ``` FroalaEditor.PLUGINS['fixPasteBug'] = function (editor: any) { // Fix froala's `id="isPasted"` being added...

I'm very interested in this issue as well.

I had the same issue as @hfossli-agens. In my Google Cloud Run service, `process.env.NODE_ENV` wasn't being set to `production`, so emulator env variables were being set and firebase-admin SDK couldn't...