Convenient ways to pass a supergraph to the router #468
Replies: 1 comment
-
from stdin seems reasonable to start. you could do something like we'll eventually want a way to watch for file changes and recompose whenever one of the subgraph sources updates, so something like down the line we could have some other mechanism entirely, like maybe we have |
Beta Was this translation helpful? Give feedback.
-
This is related to #377 where I was trying to pass a -u url to a supergraph for demo / convenience purposes.
However this might not be the right way to reason about it.
Other approaches may include piping a supergraph to stdin, or let rover provide this mechanism (cc @EverlastingBugstopper )
Quoting @abernix comment "like allowing --supergraph to accept STDIN (and thus enabling something like curl -ssL https://go.apollo.dev/r/supergraph | ./router -s -)."
Beta Was this translation helpful? Give feedback.
All reactions