Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROVER-326 Ensure Rover expands references in the supergraph.yaml #2411

Merged
merged 5 commits into from
Feb 18, 2025

Conversation

jonathanrainer
Copy link
Contributor

Fixes: #2408

Following the refactor we have introduced a regression where before variable references in the supergraph.yaml would be expanded and now they are not. This PR fixes that so that variables are expanded again.

In addition some cleanup work had not happened after the refactor, leaving lots of code that was not being used. This resolves that too

@jonathanrainer jonathanrainer requested a review from a team as a code owner February 18, 2025 06:18
@svc-apollo-docs
Copy link
Collaborator

svc-apollo-docs commented Feb 18, 2025

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: 945ea1186682ef853f167fe9

Use American English

Co-authored-by: Nicolas Moutschen <[email protected]>
@jonathanrainer jonathanrainer merged commit 10f1679 into main Feb 18, 2025
32 checks passed
@jonathanrainer jonathanrainer deleted the jr/bug/ROVER-326 branch February 18, 2025 09:06
@jonathanrainer jonathanrainer added this to the v0.27.2 milestone Feb 19, 2025
@jonathanrainer jonathanrainer mentioned this pull request Feb 19, 2025
jonathanrainer added a commit that referenced this pull request Feb 19, 2025
## 🐛 Fixes

- **Restore the ability to use environment or file references in the
`supergraph.yaml` file - @jonathanrainer PR #2411**

In v0.26.3 and older you could use references such as `${env.HOST}` or
similar in the `supergraph.yaml` file, there
was an oversight in the refactor and this was removed. This ability has
now been restored.

## 🛠 Maintenance

- **Restructure and add logging to failing E2E test - @jonathanrainer PR
#2406**
- **Upgrade Rust to v1.84.0 - @jonathanrainer PR #2407**
- **Upgrade `apollographql/federation-rs` to v2.10.0 - @jonathanrainer
PR #2409**
- **Upgrade `thiserror` to v2.0.1 - @jonathanrainer PR #2261**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix 🩹 fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rover supergraph compose no longer performs variable expansion in v0.27
3 participants