{"repo":"autograph-hq/AutoGraph","free":true,"listed":false,"github":"https://github.com/autograph-hq/AutoGraph","clone":"git clone https://github.com/autograph-hq/AutoGraph.git","description":"Swift GraphQL Client with pure Structs","language":"Swift","stars":121,"topics":["graphql","swift","bamf","ios","realm"],"license":"MIT","category":"mobile-apps","readme_excerpt":"The Swiftest way to GraphQL - Features - Usage - Contributing - License Features - [x] ⚡️ Code Generation - [x] 🔨 Query Builder - [x] 📩 Subscriptions - [x] ⛑ Type safe Mapping - [x] 🆒 Type safe JSON - [x] 🐙 Threading - [x] 🌐 Network Library AutoGraph is a Swift client framework for making requests using GraphQL and mapping the responses to strongly typed models. Models may be represented by any Decodable type. AutoGraph relies heavily on Swift's type safety to drive it, leading to safer, compile time checked code. Requirements - Swift 5.9+ - Xcode 15.0+ Version History - Swift 5.9 iOS 13 - use version 0.18.0 (last version with CocoaPods support) - Swift 5.3.2 iOS 11 - use version 0.15.1 - Swift 5.2 iOS 10 - use version 0.14.7 - Swift 5.1.3 iOS 10 - use version 0.11.1 - Swift 5.0 iOS 8 - use version 0.10.0 - Swift 5.0 pre Decodable - use version 0.8.0 - Swift 4.2+ - use version 0.7.0 - Swift 4.1.2 - use version 0.5.1 Platforms - [x] iOS 13.0+ - [x] macOS 10.15+ - [ ] Linux Installation Swift Package Manager (SPM) AutoGraph is available through Swift Package Manager. Add AutoGraph to your Package.swift dependencies: Then add it to your target dependencies: Using Xcode In Xcode, go to File → Add Package Dependencies and enter: Code Generation AutoGraph offers powerful code generation through AutoGraphCodeGen, which transforms GraphQL schemas into native Swift types. This eliminates boilerplate and ensures type safety. Unlike GraphQL clients that use dictionaries under the h","default_branch":null,"files":null,"tree":[],"storefront":"/r/autograph-hq","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/autograph-hq/AutoGraph/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."}