Skip to content

v0.3.1

Choose a tag to compare

@flash-gordon flash-gordon released this 30 Jun 10:06
· 716 commits to main since this release
v0.3.1
71dca07

Added

  • Struct.constructor that makes dry-struct more aligned with dry-types; now you can have a struct with a custom constructor that will be called before calling the new method (v-kolesnikov)
  • Struct.attribute? and Struct.attribute_names for introspecting struct attributes (flash-gordon)
  • Struct#__new__ is a safe-to-use-in-gems alias for Struct#new (flash-gordon)

Compare v0.3.0...v0.3.1