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

Smaller bundle for gql #2312

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Smaller bundle for gql #2312

merged 1 commit into from
Oct 17, 2024

Conversation

PowerKiKi
Copy link
Collaborator

Casting, instead of wrapping, the existing gql function, save ~60 bytes, and avoid an extra function call at runtime

Checklist:

  • If this PR is a new feature, please reference a discussion where a consensus about the design
    was reached (not necessary for small changes)
  • Make sure all the significant new logic is covered by tests

Copy link

changeset-bot bot commented Oct 17, 2024

🦋 Changeset detected

Latest commit: 60c4409

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

github-actions bot commented Oct 17, 2024

💻 Website Preview

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

Casting, instead of wrapping, the existing `gql` function, save ~60
bytes, and avoid an extra function call at runtime
@PowerKiKi PowerKiKi merged commit 8bbdc6b into master Oct 17, 2024
26 checks passed
@PowerKiKi PowerKiKi deleted the powerkiki2 branch October 17, 2024 11:00
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