, thanks for your answer, it helped a lot
I finally got this working:
rule(:paths) do
value.each do |(key, value)|
PathSchema.call(value).errors.each do |error|
key([:paths, *error.path]).failure(error.text)
end
end
end
, thanks for your answer, it helped a lot
I finally got this working:
rule(:paths) do
value.each do |(key, value)|
PathSchema.call(value).errors.each do |error|
key([:paths, *error.path]).failure(error.text)
end
end
end