syrup icon indicating copy to clipboard operation
syrup copied to clipboard

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

Results 15 syrup issues
Sort by recently updated
recently updated
newest added

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

bug
enhancement
good first issue

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...

bug
good first issue

## 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: [])...

bug
good first issue

`Mint` is currently being used to run `Syrup` within the samples. Use local builds of `Syrup` instead within Swift, Kotlin, & TypeScript.

enhancement

Support generating files from the location of the found GraphQL file rather than generating all definition files at a single location.

enhancement

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....

bug
good first issue