These are chat archives for dry-rb/chat
Next-gen ruby libs! » github.com/dry-rb » website: https://dry-rb.org » forum: https://discourse.dry-rb.org
Container, even when the value is false or nil? e.g.
niland i don't know if that's the value or wasn't found. something like
key?seems to be the method
has_key?? can we add that? i want to treat dry-containers exactly the way i treat read-only hashes
key?is an official hash API method. nick: shut up. :blush:
#initialize, as long as i get a hash via
new, i'm happy
dry-validationsschema and want to turn the output into a struct like object. Is there a trick to do this or do I have to repeat myself and define a
dry-structwith the same attributes?