Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sabina-talipova opened this issue Oct 17, 2023 · 0 comments

Comments

@sabina-talipova
Copy link
Contributor

sabina-talipova commented Oct 17, 2023

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

@GuySartorelli GuySartorelli changed the title TODO: buildApolloGraphqlContainer - investigate do we still need to implement logic of scaffold() function buildApolloGraphqlContainer - investigate do we still need to implement logic of scaffold() function Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant