Skip to content

Include model uri in openVALIDATION responses #21

@Jaykju

Description

@Jaykju

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": []
    }
  }
}

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