Skip to content

Conversation

@PowerKiKi
Copy link
Collaborator

  • Requires @apollo/client 3.13.1
  • Dropped SubscriptionResult, because it added extra maintenance work to
    keep native types in sync, and it brought no value over using native
    type.
    - import type { SubscriptionResult } from 'apollo-angular';
    + import type { FetchResult } from '@apollo/client/core';
  • Most methods of QueryRef forward types from @apollo/client. That
    should allow always using correct types from whichever @apollo/client
    version is installed without needing to touch apollo-angular.
  • QueryRef.valueChanges and QueryRef.queryId are readonly, because
    there is no reason for those to be re-affected.

- Requires `@apollo/client` 3.13.1
- Dropped `SubscriptionResult`, because it added extra maintenance work to
keep native types in sync, and it brought no value over using native
type.
    ```diff
    - import type { SubscriptionResult } from 'apollo-angular';
    + import type { FetchResult } from '@apollo/client/core';
    ```
- Most methods of `QueryRef` forward types from `@apollo/client`. That
should allow always using correct types from whichever `@apollo/client`
version is installed without needing to touch `apollo-angular`.
- `QueryRef.valueChanges` and `QueryRef.queryId` are readonly, because
there is no reason for those to be re-affected.
@changeset-bot
Copy link

changeset-bot bot commented Feb 17, 2025

🦋 Changeset detected

Latest commit: f3f8810

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 Major

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
Copy link
Contributor

github-actions bot commented Feb 17, 2025

💻 Website Preview

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

The Guild has a list of common labels, declared in https://github
.com/the-guild-org/shared-resources. However, we pretty much never use
any of those, so they are, in fact, noise that makes it harder to choose
the correct labels with pre-existing almost-duplicate labels.
@PowerKiKi PowerKiKi merged commit 58a9c56 into master Feb 17, 2025
34 checks passed
@PowerKiKi PowerKiKi deleted the powerkiki2 branch February 17, 2025 06:35
@PowerKiKi PowerKiKi mentioned this pull request Feb 17, 2025
2 tasks
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.

2 participants