f5devcentral / vscode-f5

Let the F5 VSCode extension supercharge your workflows with schema validation, rest client, fast templates, and so much more!!!
https://f5devcentral.github.io/vscode-f5/#/
Apache License 2.0
59 stars 14 forks source link

[BUG] no feedback when importing single object in device import #202

Closed DumpySquare closed 1 year ago

DumpySquare commented 1 year ago

When importing a single object, not an array, it does not do anything. Some logging feedback should steer the user to the documentation or that imports need to be an array.

https://f5devcentral.github.io/vscode-f5/#/device_importing

DumpySquare commented 1 year ago

Need to add some logic to support single object import and provide better feedback with errors

need to support a single object

    {
        "device": "dude@2.1.3.4",
        "password": "coolness",
        "provider": "tmos"
    }
DumpySquare commented 1 year ago

Single object support has been added in 3.15 (pending release). I did not see any other possible json inputs to extend the error messaging.