Skip to content

PureConfig Sealed Families #292

Open
@gabrieljones

Description

@gabrieljones

Describe a type or a family of types

Is your feature request related to a problem? Please describe.
For Sealed Families, PureConfig adds an additional synthetic field called type.
https://pureconfig.github.io/docs/overriding-behavior-for-sealed-families.html
This would then allow creating a json schema for valid json that pureconfig could turn back into an ADT.

Describe the solution you'd like
A config option to add a const field called type similar to how PureConfig does it.

Describe alternatives you've considered
Maybe this configuration is already possible, and I just need help figuring out how to do it.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions