sealedClassesForEnumsMatching

val sealedClassesForEnumsMatching: List<String>

A list of Regex patterns for GraphQL enums that should be generated as Kotlin sealed classes instead of the default Kotlin enums.

Use this if you want your client to have access to the rawValue of the enum. This can be useful if new GraphQL enums are added but the client was compiled against an older schema that doesn't have knowledge of the new enums.

Only valid when targetLanguage is TargetLanguage.KOTLIN_1_4 or TargetLanguage.KOTLIN_1_5

Default: emptyList()