Closed kbrock closed 2 months ago
update:
_full_name
for Retrier. Won't use variable until we start validating those fieldsupdate:
I like this a lot, can you post an example error in the description of what it looked like before and after this change?
@agrare This doesn't do much, it just passes around the name. Now that I know this is a viable direction, I have updated #209 to include the before and afters
update:
s/Retrier/Catcher
-- a copy pasted errorupdate:
update:
update:
error!
to a missing_field!
(same output, just using the correct method)
update:update:
wrap_parser_error
added localized rescues for parsing paths and the like - will circle back for this."State Machine"
(so we could drop full_name_str
)update:
update:
update:
update:
Next
. Simpler to make it consistent)
Overview
statelint
passes around the path to the states instead of just the name.If we pass a full path to
State
andChoiceRule
we can improve validationsI want to go through each of the states to check all fields, but that just fixed up the existing errors and added a little bit of structure to help me fix ChoiceState
Changes: