ManageIQ / floe

Floe is a runner for Amazon States Language workflows
Apache License 2.0
0 stars 5 forks source link

Common Error messages alt #215

Closed kbrock closed 4 months ago

kbrock commented 4 months ago

Alt to #209

This reads parameters, ensuring the data types, and no extra parameters. The errors explain the exact location of the incorrect attribute.

Unlike 209, this wraps the params with an object that knows the location and has type checking.

Details

kbrock commented 4 months ago

update:

kbrock commented 4 months ago

update

update:

kbrock commented 4 months ago

update:

kbrock commented 4 months ago

update

update:

miq-bot commented 4 months ago

Checked commits https://github.com/kbrock/floe/compare/bf9efe655e62df768dbe613cc0a50c934350345c~...5592bd7e5a194e8155630cff8b3fc57e759a4ad7 with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint 23 files checked, 0 offenses detected Everything looks fine. :cookie:

miq-bot commented 4 months ago

This pull request is not mergeable. Please rebase and repush.

kbrock commented 4 months ago

merging this into #209

Decided to go with this code base