You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a field in a decanter is set to required: true, a MissingRequiredInputValue exception is raised with message "Required inputs have been declared, but no values for those inputs were passed." But it gives no feedback regarding what those required inputs are. If a required field is missing, it would be helpful for the error message to include that information.
Suggested Solution
update the error message in empty_required_input_error method in Decanter::Core to interpolate the list of required_inputs not present in the args
Alternatives Considered / Existing Workarounds
Additional Context
The text was updated successfully, but these errors were encountered:
Feature Description
When a field in a decanter is set to
required: true
, aMissingRequiredInputValue
exception is raised with message "Required inputs have been declared, but no values for those inputs were passed." But it gives no feedback regarding what those required inputs are. If a required field is missing, it would be helpful for the error message to include that information.Suggested Solution
update the error message in
empty_required_input_error
method inDecanter::Core
to interpolate the list ofrequired_inputs
not present in the argsAlternatives Considered / Existing Workarounds
Additional Context
The text was updated successfully, but these errors were encountered: