Skip to content

buildApolloGraphqlContainer - investigate do we still need to implement logic of scaffold() function #1604

Open
@sabina-talipova

Description

@sabina-talipova

Description

There is a function scaffold() in buildApolloGraphqlContainer.js that currently throws the new Error, because this function doesn't have any implementation. We should investigate, do we still need this function and should we implement it.

See:

* @todo build out scaffolding
* I would recommend adding a default mutation update handlers here, instead of in the `register` method.
* This way query and mutation could be potentially be linked more easily.
* Config schema could be found in the `GraphqlManager.js` file.
*
* Proof-of-concept for handlers could be found here:
* https://github.com/flamerohr/silverstripe-graphql-react-boilerplate/tree/master/client/src/js/lib/graphql

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions