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

Include model uri in openVALIDATION responses #21

Open
Jaykju opened this issue Apr 6, 2020 · 0 comments
Open

Include model uri in openVALIDATION responses #21

Jaykju opened this issue Apr 6, 2020 · 0 comments

Comments

@Jaykju
Copy link
Contributor

Jaykju commented Apr 6, 2020

The openVALIDATION responses that the language-server returns do not contain the model uri.

That means that it is not possible to map the responses to the corresponding model of a monaco editor that contains multiple models.

Sample textDocument/parsingResult:

{
  "jsonrpc": "2.0",
  "method": "textDocument/publishDiagnostics",
  "params": {
    "uri": "inmemory://model/1",
    "diagnostics": []
  }
}

Sample openVALIDATION/parsingResult:

{
  "jsonrpc": "2.0",
  "method": "openVALIDATION/parsingResult",
  "params": {
    "variables": [],
    "diagnostics": [],
    "parsedSchema": {
      "dataProperties": [],
      "complexData": []
    }
  }
}
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