paulshestakov / aws-step-functions-constructor

VSCode extension to visualize AWS step functions
MIT License
31 stars 11 forks source link

Error reporting on wrong format #3

Closed Gloix closed 3 years ago

Gloix commented 5 years ago

Currently the extension expects a structure with the following format:

{"MyStepFunctions": 
  "definition": {
    "StartAt": "MyStartingState",
    "States": ...
}}

but no error is given for a wrong structure, nor are direct structures supported (just the "StartAt" and "States" keys in the main dictionary).

paulshestakov commented 3 years ago

Direct structures should be supported now Back then it was mainly focused on serverless format, but not anymore