-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Labels
Description
Description
As per the router docs, config values can be specified in a shorthand syntax like so:
connectors:
sources:
subgraph1.endpoint1:
# These configurations apply to Connectors with the "endpoint1" source in the "subgraph1" subgraph
$config:
my.config.value: true
subgraph1.endpoint2:
# These configurations apply to Connectors with the "endpoint2" source in the "subgraph1" subgraph
$config:
another.config.value: true # Applies to the "v2" sourceThis works fine with apollo router, but does not seem to work with rover dev.
Instead, rover only accepts those values if they are specified in long form:
connectors:
sources:
subgraph1.endpoint1: # strangely doing shorthand *here* is fine?
$config:
my:
config:
value: true
subgraph1.endpoint2:
$config:
another:
config:
value: trueotherwise they are just empty in the request.
Environment
Rover Info:
Version: 0.36.0
Install Location: %HOMEPATH%\.rover\bin\rover.exe
OS: Windows 10.0.26100 (Windows 11 Enterprise) [64-bit]
Shell: Powershell 7.5.3