asl-validator v3.0.0 roadmap #86
Replies: 4 comments 1 reply
-
@massfords with all the changes I think we can target a new major version About your comment here, what would be the pros of a level system vs the ability to enable/disable each check? |
Beta Was this translation helpful? Give feedback.
-
Named checks feels more like a linter than a compiler. I can see having named checks more if we start adding rules for style issues or probable bugs. We should not allow users to disable some of the basic structural rules (Level 1 and 2 from my example). Apart from having to workaround a bug, I don't see a good reason to disable a rule like schema validation or duplicate state names. I'm less concerned about the path expressions being validated since it's a fair amount of work to get it right and I'd rather see it working for real in the AWS emulator or live system. The closer I get to deploying a state machine, the less important the validation is since the emulator or live service will do the validation for me. One thing I recall from the AWS step function editor is that I couldn't paste my ASL source code into the editor and get a good error message. The problem is that my ASL source had substitution variables for the asl-validator 2.x doesn't yet check the |
Beta Was this translation helpful? Give feedback.
-
Update on my comment above: It actually wasn't that much work but it was enough to warrant a separate project. See the asl-path-validator project. I like the approach of having named validators but basic schema validation should be run at a minimum. I typically have multiple iterations of the process during the design phase so I defer the mappings work until I'm sure what the steps are.
If there are named rules, then I could disable them by name based on the development stage I was in. |
Beta Was this translation helpful? Give feedback.
-
I've published a first version of the 3.x version. |
Beta Was this translation helpful? Give feedback.
-
Here is the roadmap for the next major release:
Beta Was this translation helpful? Give feedback.
All reactions