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

Is clientState.resolvers required or optional? #329

@ssalka

Description

@ssalka

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions