mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
e3237f9638
* NEW Add revert mutation and refactor injector transformations Removing the existing HOC component and just using Injector transformations to apply the GraphQL query and mutation * Refetch versions after performing the revert mutation * WIP Provide additional context
17 lines
395 B
YAML
17 lines
395 B
YAML
---
|
|
Name: cmsgraphql
|
|
---
|
|
SilverStripe\GraphQL\Controller:
|
|
schema:
|
|
scaffolding:
|
|
types:
|
|
SilverStripe\CMS\Model\SiteTree:
|
|
fields: [ID, LastEdited, AbsoluteLink]
|
|
operations:
|
|
copyToStage: true
|
|
readOne: true
|
|
SilverStripe\Security\Member:
|
|
fields: [ID, FirstName, Surname]
|
|
operations:
|
|
readOne: true
|