Packages to work with a minimal GraphQL client in Ember apps, including easy to use caching.
- Install @ember-graphql-client/client:
ember install @ember-graphql-client/client
- Configure your API
- Use
graphql.query()
andgraphql.mutate()
in your app
If you need a mocked API, either for tests or for development/demo purposes, you can also do that:
- Install @ember-graphql-client/mock:
ember install @ember-graphql-client/mock
- Configure your resolvers and enable the mock