flash-gordon on master
Fix Constructor custom method d… Merge pull request #402 from ti… (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::Structinstances 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, :presencetype syntax ?
(error messages, output hash) => activemodeland
(full type) => activemodel