Graphiti icon indicating copy to clipboard operation
Graphiti copied to clipboard

The Swift GraphQL Schema framework for macOS and Linux

Results 31 Graphiti issues
Sort by recently updated
recently updated
newest added

My understanding is that unions are defined using protocols and that protocols, and the `Node` type in a connection needs to implement `Encodable`. Is it possible to make a connection...

question

For example, how could we add a `totalCount` field to the `Connection` or maybe even another field to the `Edge` object. This use case is discussed here: https://graphql.org/learn/pagination/ This is...

question

If a type's name is overridden, then TypeReference does not seem to work. Example (I want the schema to use the name Location instead of LocationObject): ``` Type(LocationObject.self, as: "Location",...

bug

Is there a way to create parts of the schema in another file or function, similar to SwiftUI? ``` init(resolver: Resolver) throws { ... self.schema = try Schema { OtherSchema()...

I noticed that @paulofaria added connections in an earlier commit. I was trying to use them in my code but have not succeeded in getting them working. Here is what...

question

Function `getGraphQLType` has a Cognitive Complexity of 8 (exceeds 5 allowed). We should break this function into smaller functions. https://codeclimate.com/github/GraphQLSwift/Graphiti/Sources/Graphiti/Definition/TypeProvider.swift#issue_5f28b20e356d980001000033

enhancement
help wanted

Function `name` has a Cognitive Complexity of 12 (exceeds 5 allowed). We should break this function into smaller functions. https://codeclimate.com/github/GraphQLSwift/Graphiti/Sources/Graphiti/Definition/Reflection.swift#issue_5f28b20e356d980001000037

enhancement
help wanted

This project is very interesting to me... but I wonder if there are any full graphql server implementations, aka: a swift server implementation that would be similar to Apollo Server...

question

Hey, It would be great to have the ability to provide a schema file to the server and start it with the file content. Or is this already possible just...

enhancement
help wanted

We should add doc comments to the public APIs.

enhancement
help wanted