Skip to content

How does the lang attribute works ? #10

Description

@WhippetsAintDogs

The codebase suggess that the lang parameter is only effective when the _id parameter is defined as well. However, it seems that when we query a collection with the _id parameter, the server crash.

query AQuery {
  cockpit {
    collection(name: "ACollectionName", _id:"AnId")
  }
}

The result is:

{
  "errors": [
    {
      "message": "Internal server error",
      "locations": [
        {
          "line": 3,
          "column": 5
        }
      ],
      "path": [
        "cockpit",
        "collection"
      ]
    }
  ],
  "data": {
    "cockpit": {
      "collection": null
    }
  }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions