Merge pull request #88 from creative-commoners/pulls/4/g4-config

FIX Unindent models config
This commit is contained in:
Ingo Schommer 2021-02-26 10:10:45 +13:00 committed by GitHub
commit c91459f6be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 29 deletions

View File

@ -28,32 +28,32 @@ SilverStripe\GraphQL\Schema\Schema:
type_mapping:
SilverStripe\FrameworkTest\Model\Company: Company
SilverStripe\FrameworkTest\Model\Employee: Employee
models:
SilverStripe\FrameworkTest\Model\Company:
fields:
ID: true
Name: true
Category: true
Revenue: true
CEO: true
Employees: true
PastEmployees: true
operations:
read: true
update: true
create: true
delete: true
readOne: true
SilverStripe\FrameworkTest\Model\Employee:
fields:
ID: true
Name: true
Biography: true
DateOfBirth: true
Category: true
operations:
read: true
update: true
create: true
delete: true
readOne: true
models:
SilverStripe\FrameworkTest\Model\Company:
fields:
ID: true
Name: true
Category: true
Revenue: true
CEO: true
Employees: true
PastEmployees: true
operations:
read: true
update: true
create: true
delete: true
readOne: true
SilverStripe\FrameworkTest\Model\Employee:
fields:
ID: true
Name: true
Biography: true
DateOfBirth: true
Category: true
operations:
read: true
update: true
create: true
delete: true
readOne: true