Skip to content

fix(incremental): fix logic around selecting id/subPath - #3987

Merged
yaacovCR merged 2 commits into
graphql:mainfrom
yaacovCR:fix-id-use
Nov 9, 2023
Merged

fix(incremental): fix logic around selecting id/subPath#3987
yaacovCR merged 2 commits into
graphql:mainfrom
yaacovCR:fix-id-use

Conversation

@yaacovCR

@yaacovCR yaacovCR commented Nov 9, 2023

Copy link
Copy Markdown
Contributor

current loop assumes that the first analyzed DeferredFragmentRecord has been released as pending and thereofre has an id, which happens to be the case in this scenario, but is not reliable, uncovered by #3982.

Demonstrates the peril of ! which might point to requiring additional types, but we can leave that for a different PR.

@netlify

netlify Bot commented Nov 9, 2023

Copy link
Copy Markdown

Deploy Preview for compassionate-pike-271cb3 ready!

Name Link
🔨 Latest commit 969f417
🔍 Latest deploy log https://app.netlify.com/sites/compassionate-pike-271cb3/deploys/654d36f724dcc40008f61edf
😎 Deploy Preview https://deploy-preview-3987--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.

@yaacovCR yaacovCR added the PR: bug fix 🐞 requires increase of "patch" version number label Nov 9, 2023
@yaacovCR
yaacovCR requested a review from robrichard November 9, 2023 12:50
@github-actions

github-actions Bot commented Nov 9, 2023

Copy link
Copy Markdown

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

Comment thread src/execution/IncrementalPublisher.ts Outdated
@yaacovCR
yaacovCR merged commit e081838 into graphql:main Nov 9, 2023
@yaacovCR
yaacovCR deleted the fix-id-use branch November 9, 2023 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: bug fix 🐞 requires increase of "patch" version number

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants