kamilkisiela / apollo-angular

A fully-featured, production ready caching GraphQL client for Angular and every GraphQL server 🎁
https://apollo-angular.com
MIT License
1.5k stars 312 forks source link

Deprecate `graphql` alias for `gql` tag function #2314

Closed PowerKiKi closed 1 month ago

PowerKiKi commented 1 month ago

Because importing the same thing from two different import points will increase the final bundle size. If you want a different name for the tag function, then use as syntax, such as:

import {gql as graphql} from 'apollo-angular';
changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 1248289e37399ec64199107c913a6b362be5cb8c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | -------------- | ----- | | apollo-angular | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 1 month ago
### 💻 Website Preview The latest changes are available as preview in: [https://c7dced55.apollo-angular.pages.dev](https://c7dced55.apollo-angular.pages.dev)