Sha256: 313907e37a02e175eb04d9435971907ed4bcb59184d37fae0b69e17db68f4582
Contents?: true
Size: 875 Bytes
Versions: 9
Compression:
Stored size: 875 Bytes
Contents
# frozen_string_literal: true module Hyrax module Transactions ## # A transaction for destroying a Hyrax Work. # # @note This is an experimental replacement for the actor stack's `#destroy` # stack. In time, we hope this will have feature parity with that stack, # along with improved architecture, error handling, readability, and # customizability. While this develops, please provide feedback. # # @since 3.0.0 # # @see https://dry-rb.org/gems/dry-transaction/ # # @deprecated Development on Dry::Transaction has been discontinued, we're # removing existing transactions and replacing them with Dry::Monad-based # valkyrie versions. class DestroyWork include Dry::Transaction(container: Hyrax::Transactions::Container) step :destroy_work, with: 'work.destroy_work' end end end
Version data entries
9 entries across 9 versions & 1 rubygems