dry-struct v0.5.1 Release Notes

Release Date: 2018-08-11 // over 3 years ago
  • ➕ Added

    • 🖨 Pretty print extension (ojab) ruby Dry::Struct.load_extensions(:pretty_print) PP.pp(user) #<Test::User name="Jane", age=21, address=#<Test::Address city="NYC", zipcode="123">>

    🛠 Fixed

    • Constant resolution is now restricted to the current module when structs are automatically defined using the block syntax. This shouldn't break any existing code (piktur)

    Compare v0.5.0...v0.5.1