You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rover dev can currently uses the --supergraph-config option to point at a supergraph config file (docs). But if you add or remove a subgraph from the config while working in it, rover dev doesn't update as expected.
If a subgraph is added to the --supergraph-config during a rover dev session, no subgraph is added to the current rover dev session.
If a subgraph is deleted from the --supergraph-config during a rover dev session, the subgraph still exists in the current rover dev session.
Workaround
Restart rover dev:
Kill process
Rerun same terminal command
Use Cases
Apollo Workbench 😁 - If a session is active and someone adds a subgraph, it would be nice to have this hot-reload handled in rover. I currently workaround this by stopping and restarting the dev session which is fine for smaller graphs, but maybe untenable for larger graphs with hundreds of subgraphs.
The text was updated successfully, but these errors were encountered:
Description
rover dev
can currently uses the--supergraph-config
option to point at a supergraph config file (docs). But if you add or remove a subgraph from the config while working in it,rover dev
doesn't update as expected.If a subgraph is added to the
--supergraph-config
during arover dev
session, no subgraph is added to the currentrover dev
session.If a subgraph is deleted from the
--supergraph-config
during arover dev
session, the subgraph still exists in the currentrover dev
session.Workaround
Restart
rover dev
:Use Cases
rover
. I currently workaround this by stopping and restarting the dev session which is fine for smaller graphs, but maybe untenable for larger graphs with hundreds of subgraphs.The text was updated successfully, but these errors were encountered: