Could we have multiple CoProcessors in Router config?

something like the below:

coprocessor:

timeout: 3s
url: http://localhost:5000/v2/authenticate
router:
request:
headers: true
context: true
body: true
condition:
exists:
request_header: authorization

  • timeout: 3s
    url: http://localhost:5000/account/flag
    subgraph:
    notification:
    request:
    headers: true
    context: true
    body: true
    condition:
    exists:
    request_header: authorization

Today the coprocessor configuration can only have 1 url value. You could supply that value via an environment variable but it would the same value for for both hooks.

This sounds like a great feature request that you can raise with our support team though: https://support.apollographql.com/