rexxars / sql-to-graphql

Generate a GraphQL API based on your SQL database structure
MIT License
592 stars 73 forks source link

Use literals for enum property names #26

Closed rexxars closed 9 years ago

rexxars commented 9 years ago

Some enum values I encountered have names that are not valid as identifiers, eg 2x2. This change uses literals instead to ensure they always work as keys.