Skip to content

[Fusion] Fix ignored non-accessible fields failing composition with UNREACHABLE_SOURCE_FIELD - #10685

Merged
michaelstaib merged 1 commit into
mainfrom
mst/fusion-ignore-unreachable-source-fields
Oct 25, 2026
Merged

michaelstaib merged 1 commit into
mainfrom
mst/fusion-ignore-unreachable-source-fields

Conversation

@michaelstaib

Copy link
Copy Markdown
Member

Composition failed with UNREACHABLE_SOURCE_FIELD for fields that a source schema's settings list under satisfiability.ignoredNonAccessibleFields, so schemas that composed before #10683 broke. The rule now skips any field whose coordinate is in that list, whatever paths are listed. This fixes the failing Nitro test FusionComposeCommandTests.Compose_IgnoredNonAccessibleFields, and the docs now say that this setting also silences UNREACHABLE_SOURCE_FIELD.

@github-actions github-actions Bot added 📚 documentation This issue is about working on our documentation. 🌶️ hot chocolate labels Oct 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Patch coverage

100.0% of changed lines covered (10/10)

File Covered Changed Patch %
…/PostMergeValidationRules/UnreachableSourceFieldRule.cs 7 7 100.0% 🟢
…/HotChocolate/Fusion/src/Fusion.Composition/SchemaComposer.cs 3 3 100.0% 🟢

Project coverage: 59.4% (316767/533315 lines)

@michaelstaib
michaelstaib merged commit 10721ce into main Oct 25, 2026
158 checks passed
@michaelstaib
michaelstaib deleted the mst/fusion-ignore-unreachable-source-fields branch October 25, 2026 09:04
This was referenced Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📚 documentation This issue is about working on our documentation. 🌶️ hot chocolate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant