Skip to content

[Fusion] Fix composition crashing when an @is field selection is only a context path - #11133

Merged
michaelstaib merged 2 commits into
mainfrom
neo/hc-17-gsn.58-is-context-path-crash
Nov 30, 2026
Merged

michaelstaib merged 2 commits into
mainfrom
neo/hc-17-gsn.58-is-context-path-crash

Conversation

@michaelstaib

Copy link
Copy Markdown
Member

Composition crashed when the @is of a lookup argument is only a context path. It now reports IS_FIELDS_HAS_CONTEXT_PATH as intended. This also fixes the test that fails on main since #10899 and #10971 met.

type Query {
  tenantById(tenant: ID! @is(field: "$tenantContext.id")): Tenant @lookup
}

@github-actions

github-actions Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Patch coverage

100.0% of changed lines covered (6/6)

File Covered Changed Patch %
…/Extensions/MutableOutputFieldDefinitionExtensions.cs 3 3 100.0% 🟢
…/Fusion/src/Fusion.Composition/SourceSchemaPreprocessor.cs 3 3 100.0% 🟢

Project coverage: 60.4% (335231/554727 lines)

@michaelstaib
michaelstaib merged commit 8d2ce37 into main Nov 30, 2026
9 of 10 checks passed
@michaelstaib
michaelstaib deleted the neo/hc-17-gsn.58-is-context-path-crash branch November 30, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant