---
Name: versioned-graphql-plugins
Only:
  moduleexists: 'silverstripe/graphql'
  classexists: 'SilverStripe\GraphQL\Schema\Schema'
---
SilverStripe\Core\Injector\Injector:
  SilverStripe\GraphQL\Schema\Registry\PluginRegistry:
    constructor:
      - 'SilverStripe\Versioned\GraphQL\Plugins\VersionedDataObject'
      - 'SilverStripe\Versioned\GraphQL\Plugins\UnpublishOnDelete'
      - 'SilverStripe\Versioned\GraphQL\Plugins\VersionedRead'
