Skip to content

Fix the "List first 1,000 repositories" GraphQL example

Administrator requested to merge fix-repository-example-link into main

Created by: flying-robot

The link included an enabled parameter that is no longer supported, resulting in the following error if you attempt to execute the query:

{
  "errors": [
    {
      "message": "Unknown argument \"enabled\" on field \"repositories\" of type \"Query\".",
      "locations": [
        {
          "line": 2,
          "column": 29
        }
      ]
    }
  ]
}

ref https://github.com/sourcegraph/sourcegraph/issues/13715 ref https://docs.sourcegraph.com/api/graphql/examples

Merge request reports

Loading