silverstripe-cms/_config/graphql.yml
Robbie Averill e3237f9638 NEW Add revert mutation and refactor injector transformations (#2158)
* 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
2018-05-17 15:36:46 +12:00

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