Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate graphql alias for gql tag function #2314

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Deprecate graphql alias for gql tag function #2314

merged 1 commit into from
Oct 17, 2024

Conversation

PowerKiKi
Copy link
Collaborator

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';

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:

```ts
import {gql as graphql} from 'apollo-angular';
```
Copy link

changeset-bot bot commented Oct 17, 2024

🦋 Changeset detected

Latest commit: 1248289

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

Copy link
Contributor

💻 Website Preview

The latest changes are available as preview in: https://c7dced55.apollo-angular.pages.dev

@PowerKiKi PowerKiKi merged commit e98e06a into master Oct 17, 2024
26 checks passed
@PowerKiKi PowerKiKi deleted the powerkiki2 branch October 17, 2024 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant