Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove the usage of apollo client (#63)
* new API POC * remove apollo client completely * update readme * remove redundant deps * remove redundant imports * reorganise scripts * update Library usage code snippets in README; npm audit fix (#64) * npm audit fix * docs: update Library usage code snippets This commit updates the function to create GraphQL client to createClient in all code snippets under Library docs. * fix missign CLI output (#65) * replace introspectQuery with getIntrospectionQuery introspectQuery is deprecated in graphql v15.0.0 in favour of getIntrospectionQuery. * cli: add module query.js This commit adds module query.js to facilitate running queries. It makes use of npm package rewire to use unexported query func in command.js * cli: refactor ui.js This commit makes use of query function in ui.js to implement DRY. * cli: update introspectionQuery func in command.js * cli: support mutation in query.js * cli: fix eslint errors * cli: remove rewire * cli: catch error while fetching introspection schema in ui.js * Add example script, update readme, use isomorphic fetch (#66) * add example script * remove dependency node-fetch * update readme * update dependency for example script * readme: minor fix * Bump version * downgrade graphql version * upgrade oclif tools * upgrade deps * audit fix * example: update GraphQL endpoint and queries Signed-off-by: Shraddha Agrawal <[email protected]> Co-authored-by: Shraddha Agrawal <[email protected]>
- Loading branch information