Closed dvic closed 2 years ago
I'll take a look at that as soon as possible. Sorry for not noticing it, GitHub notifications are just a mess sometimes.
I think the problem here is that I'm not recursively applying my syntax sugar on top of the nested defined types.
As a workaround for now (not ideal, sorry) you can define Many
in a different module and then doing embeds_many(:many, Many)
.
Haven't looked into this yet but the following gives the compile error shown below it
The original test uses
embeds_many(:many, Many, [])
and that works just fine.