microsoft/vscode-azure-iot-toolkit

not validate Malformed dummy json syntax

Closed this issue · 1 comments

Repro on : v2.11.0-rc
step:
1.right-click the tree explorer
2.start monitoring build-in event endpoint
3.send D2C message to IoT Hub
4.select one device to send message
5. check Data Template
6. edit data template with wrong syntax, but not validate Malformed dummy json syntax, can't see and error message.
image

  1. click send button
  2. verify the invalid message can be send ,
    but the message format is different with valid template.
    do we need to help user validate the format of Data Template?

image

if the data template is valid , here is the message
image

This is by design. Data template is allowed to generate non-json message.