Skip to content

Use Sealed Trait As Base Class? #501

@dalegaspi

Description

@dalegaspi

I'm trying to use jsoniter-scala with the case classes generated using this awesome tool. the hindrance that i see is that for cases like this a trait is generated, but the problem is i cannot use jsoniter-scala macros to generate decoders because the base trait is not sealed. can we have perhaps an option to make the generated base class sealed for this purpose?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions