{"repo":"Shopify/syrup","free":true,"listed":false,"github":"https://github.com/Shopify/syrup","clone":"git clone https://github.com/Shopify/syrup.git","description":"A type-safe GraphQL model generator for Kotlin, Swift, and TypeScript.","language":"Swift","stars":111,"topics":["swift","kotlin","graphql","typescript","code-generation"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Syrup Syrup generates strongly-typed Swift and Kotlin models based on the GraphQL queries used in your app. It generates client-side types to represent the queries, mutations, and responses that your app relies on. Running Syrup Xcode 9 is required to build this application. Running via Command Line: Build the tool by running: This will create an executable for you located at .build/debug/Syrup To run Syrup, simply run the executable from the command line with the required command and launch arguments Running via Xcode: First, create your Xcode project: Select the Syrup scheme (Product - Scheme - Syrup) After this, the project should successfully build. To get it to successfully run, you must supply the required command and launch arguments by editing the Syrup target's scheme (Product - Scheme - Edit Scheme) and providing them as \"Arguments passed on launch\" under the Arguments tab. Commands Syrup supports the following commands. The launch arguments of each command are described in more detail under launch arguments. generate This will generate the models representing your GraphQL operations as well as the necessary support files. generate-models This will generate only the models representing your GraphQL operations. generate-support-files This will generate only the support files representing your GraphQL operations. Launch Arguments This lists the possible arguments to Syrup. Note that not all launch arguments apply to every command. Applies to generate and generate-mode","default_branch":null,"files":null,"tree":[],"storefront":"/r/Shopify","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Shopify/syrup/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}