classesForEnumsMatching

abstract val classesForEnumsMatching: ListProperty<String>

A list of Regex patterns for GraphQL enums that should be generated as Java classes.

Only valid when generateKotlinModels is false.

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.

Default: listOf(".*")