diff --git a/_config/graphql.yml b/_config/graphql.yml index f5d5cf18..8399f913 100644 --- a/_config/graphql.yml +++ b/_config/graphql.yml @@ -1,16 +1,17 @@ --- 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 +SilverStripe\GraphQL\Manager: + schemas: + admin: + 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