GraphQL brings many benefits, both to the client: devices will need fewer requests, and therefore reduce data usage. And to the programmer: requests are arguable, they have the same structure as the request.
This project combines the benefits of GraphQL with the benefits of Streams
in Dart to deliver a high-performance client.
The project took inspiration from the Apollo GraphQL client, great work guys!
This is a Monorepo which contains the following packages:
Package | Pub |
---|---|
graphql/client.dart | |
graphql_flutter |
Here are some examples you can follow:
External guides, tutorials, and other resources from the GraphQL Flutter community
- Ultimate toolchain to work with GraphQL in Flutter:
An intro to usinggraphql_flutter
withartemis
for code generation andgraphql-faker
for API prototyping
This is currently our roadmap, please feel free to request additions/changes.
Feature | Progress |
---|---|
Queries | ✅ |
Mutations | ✅ |
Subscriptions | ✅ |
Query polling | ✅ |
In memory cache | ✅ |
Offline cache sync | ✅ |
GraphQL Upload | ✅ |
Optimistic results | ✅ |
Modularity | ✅ |
Automatic Persisted Queries | ✅ |
Client state management | 🔜 |
To contribute, please see the CONTRIBUTING.md file.
This package was originally created and published by the engineers at Zino App BV. Since then the community has helped to make it even more useful for even more developers.
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind are welcome!
This project exists thanks to all the people who contribute. [Contribute].
Become a financial contributor and help us sustain our community. [Contribute]
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]