apollo-router 2.14.0-rc.2

A configurable, high-performance routing runtime for Apollo Federation 🚀
Documentation
subgraphs:
  connectors:
    routing_url: http://none
    schema:
      sdl: |
        extend schema
          @link(url: "https://specs.apollo.dev/federation/v2.11")
          @link(url: "https://specs.apollo.dev/connect/v0.2", import: ["@source", "@connect"])
          @source(
            name: "json"
            http: {
              baseURL: "http://localhost"
              path: "$(['api', 'v1'])"
              queryParams: "q: $(1)"
            }
          )

        type Query {
          f(req: String!, opt: String, repeated: [Int]): String
            @connect(
              source: "json"
              http: {
                GET: "/users"
                path: "$([$$args.req, $$args.opt])"
                queryParams: "repeated: $$args.repeated"
              }
              selection: "$"
            )
        }