Skip to content

Adding customization for "events" processing to Http client #2320

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

quinnjr
Copy link
Contributor

@quinnjr quinnjr commented Oct 24, 2024

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

About

Creating the ability to define in each request on the context input the different kinds of underlying Angular HttpClient options.

It is primarily suited to adding support for watching and 'event' of the HttpClient to determine events being emitted by the HttpClient as it processes the request/response.

Had to add the coercion of the FetchResult type to the SubscriptionResult type in subscription.ts or else Typescript was throwing errors for it.

Also includes bumping the versioning for the dev container as the current version doesn't work correctly with the engine version in package.json or the requirements of Angular itself.

Copy link

changeset-bot bot commented Oct 24, 2024

🦋 Changeset detected

Latest commit: e48b25c

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 Minor

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

@quinnjr quinnjr force-pushed the add-customization-to-http-client branch 3 times, most recently from 09baa15 to b8276d1 Compare November 5, 2024 20:54
@quinnjr quinnjr marked this pull request as ready for review November 5, 2024 20:56
@quinnjr quinnjr force-pushed the add-customization-to-http-client branch from b8276d1 to e48b25c Compare November 6, 2024 16:04
@quinnjr
Copy link
Contributor Author

quinnjr commented Nov 6, 2024

@kamilkisiela ready for your review when you have a chance

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