allocateEnumConstant

Allocates a collision-safe Kotlin enum constant name (SCREAMING_SNAKE_CASE) for the given GraphQL enum graphqlValue.

Return

A GeneratedName with the allocated Kotlin identifier and the original wire name.

Parameters

graphqlValue

The original GraphQL enum value literal (e.g. "OPEN", "open", "CREATED_AT").