Open gaspb opened 4 years ago
@gaspb Thanks for the report, this is definitely not great. I think sealed
was removed to support allOf
.
The work required to re-introduce the sealed
constraint would likely involve a mapping function that describes file membership as well as definition order.
Is this something you would be interested in helping with? I can provide some support on getting started, if so.
@blast-hardcheese I would, i'll have a look this weekend :)
I've just bumped into this as well.. :(
@francescopellegrini Sorry to hear it 😞 Is this something you'd be able to spend some time investigating? I'm nearly done converting the codebase from Free to Tagless Final, I've got a branch that shouldn't change too much over the next week or so if so, blast-hardcheese/tagless-final-pt4
Hello !
When using the following schema :
I get the generated code :
which is incorrect, the trait should be sealed or the pattern matching should include
case _ =>