Skip to content

MissingRequiredInputValue exception message should describe the missing input fields #150

@dianacamacho

Description

@dianacamacho

Feature Description

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions