Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix #8714: @stream fails when list contains fewer items than initialCount - #8715

#8715
Merged
michaelstaib merged 2 commits into
ChilliCream:mainChilliCream/graphql-platform:mainfrom
MikeBarker-MSFT:mainMikeBarker-MSFT/graphql-platform-stream-fix:mainCopy head branch name to clipboard
Sep 17, 2025
Merged

Fix #8714: @stream fails when list contains fewer items than initialCount#8715
michaelstaib merged 2 commits into
ChilliCream:mainChilliCream/graphql-platform:mainfrom
MikeBarker-MSFT:mainMikeBarker-MSFT/graphql-platform-stream-fix:mainCopy head branch name to clipboard

Conversation

@MikeBarker-MSFT

Copy link
Copy Markdown
Contributor

Test the return value from enumerator.MoveNextAsync(), and only add items to the list if the value is valid.

Closes #8714

@CLAassistant

CLAassistant commented Sep 16, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@michaelstaib

Copy link
Copy Markdown
Member

@MikeBarker-MSFT I will merge and cherry pick this one on 15, but be advised that we will implement the new spec draft for 16 which will completely replace how defer and stream work.

@michaelstaib
michaelstaib self-requested a review September 17, 2025 08:56
@michaelstaib michaelstaib added the 🍒 cherry-pick Consider cherry-picking these changes into the previous major version. label Sep 17, 2025
@michaelstaib michaelstaib modified the milestones: HC-15.1.10, HC-15.1.11 Sep 17, 2025
@michaelstaib
michaelstaib merged commit 3b80da6 into ChilliCream:main Sep 17, 2025
110 checks passed
@codecov

codecov Bot commented Sep 17, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (1529d93) to head (c56d80d).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@     Coverage Diff      @@
##   main   #8715   +/-   ##
============================
============================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@MikeBarker-MSFT

Copy link
Copy Markdown
Contributor Author

Thank you @michaelstaib 👍

@michaelstaib

Copy link
Copy Markdown
Member

@MikeBarker-MSFT your change is now integrated into this preview build:

https://github.com/ChilliCream/graphql-platform/releases/tag/15.1.11-p.3

We can do a release next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🍒 cherry-pick Consider cherry-picking these changes into the previous major version. 🌶️ hot chocolate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stream fails when list contains fewer items than initialCount

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.