timriley on support-component-dirs-with-mixed-namespaces
Avoid freezing components Thes… Add dirs to load path so earlie… Extract Identifier; support mix… (compare)
timriley on support-component-dirs-with-mixed-namespaces
Fix space (compare)
timriley on support-component-dirs-with-mixed-namespaces
Support component dirs with mix… Add test Refactor component building int… and 30 more (compare)
dry-bot on master
[devtools] sync (compare)
@coop How’s this read?
(Technically, these examples are entities rather than strict value types, because we include the record IDs in their attributes, which you'd expect to be the key indicator of equality. However, in practice,
Dry::Types::Struct
instances still check for equality across all attributes, and in our apps we only ever instantiate these objects from known-good database data, which means they still behave effectively as value objects. So let's continue!)
validates :title, :presence
type syntax ?
(error messages, output hash) => activemodel
and (full type) => activemodel