Closed emteknetnz closed 2 weeks ago
Issue https://github.com/silverstripe/silverstripe-admin/issues/1799
Have validated that the front end schema is still usable:
composer require silverstripe/graphql-devtools
app/_config/graphql.yml
--- name: app-graphql after: "*" --- SilverStripe\Control\Director: rules: 'graphql': '%$SilverStripe\GraphQL\Controller.default' SilverStripe\GraphQL\Schema\Schema: schemas: default: src: - "app/_graphql"
app/_graphql/models.yml
Page: fields: '*' operations: '*'
dev/build flush=1
https://mysite.test/dev/graphql/ide
Test a query
query { readPages { nodes { title content } } }
Test migrated versioning plugin
(Make draft changes on page ID = 2 in the CMS)
mutation { publishPage(id: 2) { id } }
Refersh the CMS - page has been published
Issue https://github.com/silverstripe/silverstripe-admin/issues/1799
Have validated that the front end schema is still usable:
composer require silverstripe/graphql-devtools
app/_config/graphql.yml
app/_graphql/models.yml
dev/build flush=1
Test using graphql devtool
https://mysite.test/dev/graphql/ide
Test a query
Test migrated versioning plugin
(Make draft changes on page ID = 2 in the CMS)
Refersh the CMS - page has been published