Create a PartialQuery Type #103

Open
opened 2020-06-06 15:29:42 +01:00 by Ghost · 0 comments
Ghost commented 2020-06-06 15:29:42 +01:00 (Migrated from codeberg.org)

Feature Request

Sub-Project

Description

Currently, there is no way to accept partial lists in Commandler, for example if a command accepts a list of inputs, and needs an adapter to convert it.

In cases where a user typed a list of 10 items, but only 1 is not valid, the entire command fails. This is fine for most cases, but in some cases it may be preferred an object that has the 9 valid items, and then the list of rejected inputs.

# Feature Request <!-- If you feel a heading is irrelevant, just leave it empty or remove it. --> ## Sub-Project <!-- Can you specify which sub-project(s) this is relevant to? If you aren't sure, or this is a proposal for a new sub-project, you can delete this. --> ## Description <!-- Explain what this is about, try to use full sentences, and make your point clear. --> Currently, there is no way to accept partial lists in Commandler, for example if a command accepts a list of inputs, and needs an adapter to convert it. In cases where a user typed a list of 10 items, but only 1 is not valid, the entire command fails. This is fine for most cases, but in some cases it may be preferred an object that has the 9 valid items, and then the list of rejected inputs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
SethFalco/commandler#103
No description provided.