syrup
syrup copied to clipboard
A type-safe GraphQL model generator for Kotlin, Swift, and TypeScript.
Currently there a lot of warnings of the following nature: ```txt 'PathArgument' is deprecated: use swift-argument-parser instead ``` This PR migrates [swift-argument-parser]. There are a few benefits we can use...
While working on another PR, I noticed that Syrup was crashing when trying to parse fields that take an input object as an argument. For example: ```graphql fragment ImageUrl on...
## Problem Default values on the query parameters will cause the generate models script to fail with: ``` Swift/Range.swift:178: Fatal error: Range requires lowerBound
Resolves #42 - Adds a proxy script for using `syrup` within samples. - Updates all generated files with up-to-date selection generation.
## Problem Currently, you can create a GraphQL operation where object arguments can be defined through GraphQL arguments but not through arguments literals. `Syrup` seems to strip curly brackets and...
## Problem Currently, empty array literals are being striped when generating a GraphQL operation. Support empty array literals. ### Examples Query with array literal ```graphql query NodeQuery { nodes(ids: [])...
`Mint` is currently being used to run `Syrup` within the samples. Use local builds of `Syrup` instead within Swift, Kotlin, & TypeScript.
Support generating files from the location of the found GraphQL file rather than generating all definition files at a single location.
Currently writing inline fragments on the object type itself is not supported by Syrup. The bug does not have a lot of use cases but is a valid GraphQL rule....