It seems to me that Ruby hashes would be a good option to implement the Data Transfer Objects that the Application Services receive from the client code as commands and queries requests.For Application Service responses, perhaps a response object with success/failure and a result property containing the data as hash.Do you think this is a viable implementation or an anti-pattern?
Is it advisable to use hashes as DTOs in Ruby when applying DDD?
design patterns;domain driven design;ruby;services;dto