modelConfig:
  DataObject:
    plugins:
      versioning:
        before: inheritance
    operations:
      copyToStage:
        class: SilverStripe\Versioned\GraphQL\Operations\CopyToStageCreator
      publish:
        class: SilverStripe\Versioned\GraphQL\Operations\PublishCreator
      unpublish:
        class: SilverStripe\Versioned\GraphQL\Operations\UnpublishCreator
      rollback:
        class: SilverStripe\Versioned\GraphQL\Operations\RollbackCreator
      read:
        plugins:
          readVersion:
            before: paginateList
      readOne:
        plugins:
          readVersion:
            before: firstResult
      delete:
        plugins:
          unpublishOnDelete: true
