Merge pull request #2211 from open-sausages/pulls/4/pyramid-schema

Add multi-schema support
This commit is contained in:
Maxime Rainville 2018-08-07 10:35:01 +12:00 committed by GitHub
commit 15fc464a28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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