Skip to content

Conversation

pubmodmatt
Copy link
Contributor

@pubmodmatt pubmodmatt commented May 22, 2025

Although environment variables are allowed in the supergraph config (supergraph.yaml), and they work on the first load of the config, they weren't working in the supergraph config file watcher, so as soon as that started it would emit extremely unhelpful errors from rover dev:

error: Could not parse supergraph config file.
Could not parse supergraph config: subgraphs.Space: data did not match any variant of untagged enum SchemaSource at line 4 column 16.

@pubmodmatt pubmodmatt self-assigned this May 22, 2025
@pubmodmatt pubmodmatt requested a review from a team as a code owner May 22, 2025 19:28
@svc-apollo-docs
Copy link
Collaborator

svc-apollo-docs commented May 22, 2025

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: 23193d80582acba4b012eede

@pubmodmatt pubmodmatt added the fix 🩹 fixes a bug label May 22, 2025
@pubmodmatt pubmodmatt added this to the vNext milestone May 22, 2025
@pubmodmatt pubmodmatt merged commit 7316da0 into main May 22, 2025
32 checks passed
@pubmodmatt pubmodmatt deleted the pubmodmatt/env_var_bug branch May 22, 2025 22:22
@pubmodmatt pubmodmatt mentioned this pull request May 22, 2025
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.

3 participants