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

polish(IncrementalPublisher): remove unnecessary check and method call #4106

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

yaacovCR
Copy link
Contributor

@yaacovCR yaacovCR commented Jun 14, 2024

polished IncrementalPublisher:

= completeDeferredFragment will always return undefined if the deferredFragmentRecord has already been removed from the graph
= removeDeferredFragment need not be called twice

Copy link

netlify bot commented Jun 14, 2024

Deploy Preview for compassionate-pike-271cb3 ready!

Name Link
🔨 Latest commit 32b97d9
🔍 Latest deploy log https://app.netlify.com/sites/compassionate-pike-271cb3/deploys/6672a3c40e72b90008d9f2dc
😎 Deploy Preview https://deploy-preview-4106--compassionate-pike-271cb3.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

Hi @yaacovCR, I'm @github-actions bot happy to help you with this PR 👋

Supported commands

Please post this commands in separate comments and only one per comment:

  • @github-actions run-benchmark - Run benchmark comparing base and merge commits for this PR
  • @github-actions publish-pr-on-npm - Build package from this PR and publish it on NPM

@yaacovCR yaacovCR added the PR: polish 💅 PR doesn't change public API or any observed behaviour label Jun 14, 2024
@yaacovCR yaacovCR requested a review from robrichard June 14, 2024 10:44
@yaacovCR yaacovCR changed the title polish(incremental): remove unnecessary check polish(incremental): remove unnecessary check and method call Jun 19, 2024
= completeDeferredFragment will always return undefined if the deferredFragmentRecord has already been removed from the graph, so this does not need to be checked separately.
= removeDeferredFragment need not be called twice.
@yaacovCR yaacovCR changed the title polish(incremental): remove unnecessary check and method call polish(IncrementalPublisher): remove unnecessary check and method call Jun 19, 2024
@yaacovCR yaacovCR merged commit e160b6f into graphql:main Jun 19, 2024
20 checks passed
@yaacovCR yaacovCR deleted the remove-unnecessary branch June 19, 2024 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: polish 💅 PR doesn't change public API or any observed behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants