Write .graphql
files, use auto generated Angular services.
It's all possible thanks to:
- apollo-angular
- graphql-code-generator
- graphql-codegen-apollo-angular-template
yarn
# or
npm install
yarn graphql
# or
npm run graphql
All documents from src/app/graphql
were generated into services that you can find in src/app/generated/graphql.ts