Merge pull request #2615 from unclecheese/pulls/4/plugin-away

NEW compatibility with new stateless plugins
This commit is contained in:
Ingo Schommer 2020-12-08 11:28:53 +13:00 committed by GitHub
commit df322a7d18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,10 @@ Name: cms-graphql
Only:
classexists: 'SilverStripe\GraphQL\Schema\Schema'
---
SilverStripe\Core\Injector\Injector:
SilverStripe\GraphQL\Schema\Registry\PluginRegistry:
constructor:
- 'SilverStripe\CMS\GraphQL\LinkablePlugin'
SilverStripe\CMS\Model\SiteTree:
graphql_blacklisted_fields:
HasBrokenFile: true