-
Notifications
You must be signed in to change notification settings - Fork 17
Schema id not validated as required #116
Copy link
Copy link
Open
Description
DTDL v2 requires all schema elements to have an id, as reported by the parser:
{
"@context": "dtmi:dtdl:context;2",
"@id": "dtmi:test:schemas;1",
"@type": "Interface",
"schemas": [
{
"@type": "Object",
"fields": [
{
"name": "rf1",
"schema": "integer"
}
]
}
]
}dtmi:test:schemas;1's property 'schemas' requires an identifer but none provided. Add an '@id' property whose value is a string that conforms to the DTMI syntax -- see https://github.com/Azure/digital-twin-model-identifier.Current behavior. The Language server does not point this issue
Expected.
- Show the issue in the problems tab
- Squiggles
- Show @id as required in the intellisense drop down
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels