silverstripe-cms/_config/graphql.yml

16 lines
365 B
YAML

---
Name: cmsgraphql
---
SilverStripe\GraphQL\Controller:
schema:
scaffolding:
types:
SilverStripe\CMS\Model\SiteTree:
fields: [ID, LastEdited, AbsoluteLink]
operations:
readOne: true
SilverStripe\Security\Member:
fields: [ID, FirstName, Surname]
operations:
readOne: true