This repository has been archived by the owner on Apr 17, 2019. It is now read-only.
Releases: marmelab/aor-simple-graphql-client
Releases · marmelab/aor-simple-graphql-client
0.0.10
Support for custom GraphQL flavors.
It should be easier to customize queries for services such as graphcool.
BREAKING CHANGES:
There is no introspection.template
option anymore. In order to achieve the same result without implementing a full new flavor, just create your flavor like this:
// In myFlavor.js
import pluralize from 'pluralize';
import defaultFlavor from 'aor-simple-graphql-client/lib/flavors/default';
const myFlavor = {
...defaultFlavor
GET_LIST: {
....defaultFlavor.GET_LIST
operationName: (resourceType) => `getPageOf${pluralize(resourceType.name)}`, // Override the name here
},
...
};
0.0.9
- Extracted realtime saga to its own package: aor-realtime
- Allow to override default options for Apollo watchRequest at the saga level
0.0.8
0.0.7
0.0.6
Fix excludeFields, as buildFieldList was being called with incorrect arguments (grahamlyus)