Repository navigation
Fill only external fields from entity representations - #10819
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The review found an issue that should be addressed before approval.
1 open issue
What changed in this PR
Restricts Apollo Federation’s entity representation filler to external fields, aiming to preserve values owned and resolved by the current subgraph.
Changes:
- Adds field-level and type-level external checks when generating entity fillers.
- Adds regression tests for owned-field preservation and nested external-field updates.
- Updates existing test fixtures to explicitly mark external properties.
| File | Description |
|---|---|
| src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/RepresentationFillerTests.cs | Updated as part of this pull request. |
| src/HotChocolate/ApolloFederation/test/ApolloFederation.Tests/EntitiesResolverForObjectTests.cs | Updated as part of this pull request. |
| src/HotChocolate/ApolloFederation/src/ApolloFederation/Resolvers/ExternalSetterExpressionHelper.cs | Updated as part of this pull request. |
Review effort: Balanced
Contributor
Patch coverage100.0% of changed lines covered (7/7)
Project coverage: 59.4% (321340/540594 lines) |
tobias-tengler
force-pushed
the
tte/entities-external-only
branch
from
November 9, 2026 13:16
91c5b06 to
b7c7207
Compare
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This was referenced Nov 10, 2026
chore(deps): Bump HotChocolate.Subscriptions.InMemory from 16.7.3 to 16.7.5
Kuestenlogik/Bowire#1025
Merged
This was referenced Nov 19, 2026
fix(deps): Bump Basic.Reference.Assemblies.Net100 and 32 others
AdCodicem/AdCodicem.ValueObjects#262
Closed
This was referenced Nov 26, 2026
fix(deps): Bump Basic.Reference.Assemblies.Net100 and 43 others
AdCodicem/AdCodicem.ValueObjects#274
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.