dry-rb - dry-schema and dry-validation 1.5.0 released
12-Mar-2020 3105
You can now compose schemas using logical operators. The only limitation is that xor is not supported yet as it wasn't clear how error messages are supposed to work. This feature is experimental until we finalize it in version 2.0.0.In the meantime, please try it out! Here's a simple example:.
dry-rb - dry-schema and dry-validation 1.5.0 released #ruby #rubydeveloper #rubyonrails #dry-rb #dry-schema #dry-validation #1.5.0 #released https://rubyonrails.ba/link/dry-rb-dry-schema-and-dry-validation-1-5-0-released