Skip to content
This repository has been archived by the owner on Jul 10, 2019. It is now read-only.

Is clientState.resolvers required or optional? #329

Open
ssalka opened this issue Nov 21, 2018 · 0 comments
Open

Is clientState.resolvers required or optional? #329

ssalka opened this issue Nov 21, 2018 · 0 comments

Comments

@ssalka
Copy link

ssalka commented Nov 21, 2018

Is the resolvers field of ClientStateConfig required or optional? In the Configuration section of the docs, it states that clientState.resolvers may be omitted, but in the source code it's listed as a required field.

I'm working on a small side project using apollo-boost, and just want to configure some defaults for the cache - in my case, it's not necessary to use resolvers (unless I'm missing something? all the complex resolvers live server-side) so would like to avoid writing in resolvers: {} on the frontend if possible.

Thanks for any feedback!

/label type-defs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant