Skip to content

join__field external should be set for external fields even if used in keys in other graphs#307

Merged
jdolle merged 5 commits into
mainfrom
external-inconsistency
Jul 16, 2026
Merged

join__field external should be set for external fields even if used in keys in other graphs#307
jdolle merged 5 commits into
mainfrom
external-inconsistency

Conversation

@jdolle

@jdolle jdolle commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@jdolle jdolle self-assigned this Jul 15, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a new test case @external + @shareable to verify federation composition behavior. The feedback identifies that subgraph e hardcodes the federation version to v2.3 instead of using the ${version} template variable, which prevents the test from running correctly across multiple federation versions.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread __tests__/composition.spec.ts Outdated
Comment thread __tests__/composition.spec.ts Outdated
@jdolle jdolle changed the title Reproduce external directive bug join__field external should be set for external fields even if used in keys in other graphs Jul 16, 2026
@jdolle
jdolle marked this pull request as ready for review July 16, 2026 06:45
@jdolle
jdolle merged commit b3367b4 into main Jul 16, 2026
3 of 4 checks passed
@jdolle
jdolle deleted the external-inconsistency branch July 16, 2026 15:03
jdolle pushed a commit that referenced this pull request Jul 16, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @theguild/federation-composition@0.23.1

### Patch Changes

-
[#307](#307)
[`b3367b4`](b3367b4)
Thanks [@jdolle](https://github.com/jdolle)! - Set external to true for
external fields that are not in the key, but are used in keys for other
graphs

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants