pragmalang/pragma

Enum variants cannot be start with numeric characters

anasbarg opened this issue · 0 comments

Enum variants cannot be start with numeric characters

Enum variants should not be definable using string literals because string literals do not neccesariy follow this regex: /^[_a-zA-Z][_a-zA-Z0-9]*$/ which is what a valid GraphQL enum variant should match.