diff options
author | Michael Muré <batolettre@gmail.com> | 2020-09-30 17:54:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-30 17:54:48 +0200 |
commit | fe66092c46d04c671c224c239a3d88a6e83b833f (patch) | |
tree | 00944f334894303148980faf4a2d85723922aad3 /webui/src/apollo.ts | |
parent | db20bc34e5cd696842f459b1d0b8b6aa6457d739 (diff) | |
parent | f4433d80c4fe6ad1ddf00bd8bcda99c15dc38450 (diff) | |
download | git-bug-fe66092c46d04c671c224c239a3d88a6e83b833f.tar.gz |
Merge pull request #459 from MichaelMure/webui/upgrade-deps
webui: dependencies upgrades
Diffstat (limited to 'webui/src/apollo.ts')
-rw-r--r-- | webui/src/apollo.ts | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/webui/src/apollo.ts b/webui/src/apollo.ts index 785f0e7f..99860842 100644 --- a/webui/src/apollo.ts +++ b/webui/src/apollo.ts @@ -1,17 +1,11 @@ -import ApolloClient from 'apollo-boost'; -import { - IntrospectionFragmentMatcher, - InMemoryCache, -} from 'apollo-cache-inmemory'; +import { ApolloClient, InMemoryCache } from '@apollo/client'; -import introspectionQueryResultData from './fragmentTypes'; +import introspectionResult from './fragmentTypes'; const client = new ApolloClient({ uri: '/graphql', cache: new InMemoryCache({ - fragmentMatcher: new IntrospectionFragmentMatcher({ - introspectionQueryResultData, - }), + possibleTypes: introspectionResult.possibleTypes, }), }); |