{"repo":"AniTrend/retrofit-graphql","free":true,"listed":false,"github":"https://github.com/AniTrend/retrofit-graphql","clone":"git clone https://github.com/AniTrend/retrofit-graphql.git","description":"Retrofit converter which uses annotations to inject .graphql query or mutation files into a request body, along with any variables.","language":"Kotlin","stars":111,"topics":["retrofit2","graphql","retrofit-converter","graphql-query","graphql-variables","persisted-queries","graphql-files","android"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Retrofit Converter - With GraphQL Support &nbsp; &nbsp; &nbsp; Seeing how we already have a really powerful type-safe HTTP client for Android and Java Retrofit why not use it and extend it's functionality, this project is a retrofit converter which injects .graphql query or mutation file contents into a request body along with any GraphQL variables. Supports both runtime asset-based discovery and optional build-time code generation for type-safe request helpers. Note: As of the current release, retrofit-graphql is split into a backend-neutral core and an explicit serialization layer. The public contracts ( GraphQLOperationRequest , GraphQLResponse , GraphQLDocumentRegistry ) in :api carry no serializer, Gson, or kotlinx dependency. The new GraphQLConverterFactory in :runtime requires an explicit GraphQLTransportCodec (Gson or kotlinx.serialization), and the legacy serializer-coupled surface ( GraphConverter , GraphContainer , GraphQLRequest , GraphQLJson , GraphError , QueryContainerBuilder , the io.github.wax911.library. aliases) lives in the deprecated :compat module. See MIGRATION.md for migration guidance from v2.x GraphQLJson + Gson workflows. Why This Project Exists? Many might wonder why this exists when an android GraphQL library like Apollo exists. Unfortunately Apollo for Android still lacks some basic but important features/functionality which led to the following questions about General Design Questions Regarding Apollo, Polymorphic Type Handling and Non Shared Ty","default_branch":null,"files":null,"tree":[],"storefront":"/r/AniTrend","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AniTrend/retrofit-graphql/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."}