Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does the lang attribute works ? #10

Open
WhippetsAintDogs opened this issue Oct 12, 2018 · 0 comments
Open

How does the lang attribute works ? #10

WhippetsAintDogs opened this issue Oct 12, 2018 · 0 comments

Comments

@WhippetsAintDogs
Copy link

WhippetsAintDogs commented Oct 12, 2018

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
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant