dry-operation 1.1.0 released

Changed

  • In Rom extension, allow transaction options to be passed via #transaction. (@wuarmin in #37)
    # Set options at extension time (used for all transactions within the class):
    include Dry::Operation::Extensions::ROM[isolation: :serializable]
    
    # Or per-transaction, in instance methods. These will be merged with the extension-level
    # options.
    transaction(savepoint: true) do
      # This transaction will have options `isolation: :serializable, savepoint: true`
    end
    

Compare v1.0.1 … v1.1.0


View release on GitHub