mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #2211 from open-sausages/pulls/4/pyramid-schema
Add multi-schema support
This commit is contained in:
commit
15fc464a28
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user