Shopify / syrup

A type-safe GraphQL model generator for Kotlin, Swift, and TypeScript.

Home Page:https://shopify.github.io/syrup/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add `alias` field to TS selection structure.

samrmur opened this issue · comments

Currently an alias set on a field is used as the direct selection name for a TypeScript selection. Rather than use the alias as the name, add an alias field to the selection structure and use the real field name as the selection name (similar to how Swift selections are generated.