Open momrak opened 7 months ago
Sorry, private classes are not supported atm.
Aha, I see. Any plans for supporting it, or is it not on the roadmap?
I need to revisit the code. I know right now I'm explicitly forbidding private classes but I don't know anymore why.
Hehe, I see. That happens! Should I renamed this issue to Allow using dart_mappable for private classes
and keep it open as a feature request?
Title updated to reflect feature request/enhancement
Concrete use case here:
I was trying to apply vertical slice architecture using partial dart files (part
and part of
). Since my entity class is not used anywhere outside its slice, it makes sense for it to be private.
I have tried to use this for a private class, but have not managed to get it working
What is the correct syntax to make this work?