Implement named argument to disallow some dimensions from automatic assignment #25
Labels
No labels
bug
duplicate
enhancement/documentation
enhancement/feature
enhancement/organization
question
rejected
upstream
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
UserCurt/mpath#25
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This issue proposes the new feature that strictly forbids the automatic assignment of certain dimensions, as specified by the user. This would be done through a named argument, here proposed as
DisallowedDimensions.There would be no interaction with the
Dimensionsnamed argument if there are no shared dimensions between these two named arguments. If there is a shared dimension between these two named arguments, it will be ignored fromDimensionsand disallowed from automatic assignment.If a dimension specifier is given with a dimension equal to one listed in
DisallowedDimensions, that dimension would still be used in that spot but would not be allowed for automatic assignment, not only due to being part ofDisallowedDimensionsbut also from being used once already. It would be redundant to include a manually-assigned dimension as one inDisallowedDimensionsas it would already be disallowed from automatic dimension assignment.Here are a number of examples showing the proposed behavior: