Skip to content

Conversation

rejifald
Copy link

@rejifald rejifald commented Sep 4, 2022

Resolve #7

Add possibility to configure Apollo cache instance.
For example:

...
    apollo: {
        clientConfigs: {
            default: {
                // see https://www.apollographql.com/docs/react/api/core/ApolloClient/#ApolloClient.constructor
                uri: "http://localhost:3000/api",
                cache: {
                    // see https://www.apollographql.com/docs/react/caching/cache-configuration/#possibletypes
                    possibleTypes
                }
            },
        },
    },
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No way to pass options to InMemoryCache constructor

1 participant