👋 First of all cheers for making this library!
I'm currently experiencing some issues with validating nested embeds and hope ya can provide some insights. I have the following data-structure:
%{
foo: %{
bar: %{ <= Polymorphic embed
__type__: "x",
title: "test",
images: %{ <= embeds_one
large: "https://foo.bar/x.png",
small: "https://foo.bar/x.png",
}
}
}
}
Where the field title is required and so are the fields large and small under images.
With the current implementation it will return the correct validation error for the title field (e.g. required field) but will not show any validation errors for fields under images. Any ideas on how to resolve this?
👋 First of all cheers for making this library!
I'm currently experiencing some issues with validating nested embeds and hope ya can provide some insights. I have the following data-structure:
Where the field title is required and so are the fields large and small under images.
With the current implementation it will return the correct validation error for the title field (e.g. required field) but will not show any validation errors for fields under images. Any ideas on how to resolve this?