Graphiti
Graphiti copied to clipboard
The Swift GraphQL Schema framework for macOS and Linux
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...
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...
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",...
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...
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
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
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...
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...