Add multi-schema support

This commit is contained in:
Aaron Carlino 2018-07-09 14:02:11 -05:00
parent 2d9432789b
commit d99cd10f29

View File

@ -1,16 +1,17 @@
--- ---
Name: cmsgraphql Name: cmsgraphql
--- ---
SilverStripe\GraphQL\Controller: SilverStripe\GraphQL\Manager:
schema: schemas:
scaffolding: admin:
types: scaffolding:
SilverStripe\CMS\Model\SiteTree: types:
fields: [ID, LastEdited, AbsoluteLink] SilverStripe\CMS\Model\SiteTree:
operations: fields: [ID, LastEdited, AbsoluteLink]
copyToStage: true operations:
readOne: true copyToStage: true
SilverStripe\Security\Member: readOne: true
fields: [ID, FirstName, Surname] SilverStripe\Security\Member:
operations: fields: [ID, FirstName, Surname]
readOne: true operations:
readOne: true