@solnic I got another problemBasically I want to trigger rules depending on the platform but for now the platform was a string and doing platform.eql?('twitter') worked finebut what I really want to have is a platforms array where I trigger rules depending on which platforms u try to publish smth

@tak1n isn't filled?redundant? In my understanding that is going to check if each single element is not empty. But that is already ensured by the inclusion clause. An empty string isn't a value that allowed in that set.

So if I run this, I end up with /usr/local/var/rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/dry-validation-0.7.3/lib/dry/validation/schema_compiler.rb:22:inblock in deps_valid?': undefined method success?' for "CODEP":String (NoMethodError)

I just discovered dry-types because I was searching a way to express optional things with virtus. I think it's a great work (as always with @solnic ! congratulations dude ! You make me like Ruby while I dislike it and dynamic languages in general).

With Virtus in an old Rails project, I defined a domain object name Assignment like this: