Rules-based validation in datamaps #15
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
more info required
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
yulqen/datamaps#15
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?
I'm very pleased to see that you're totally revving up to the idea of this stuff, @banillie. It's where the real value of this software is going to come to the fore, I think.
Here are the rules I am tentatively considering at this stage:
NUMBER>X, NUMBER<XNUMBERANY(X, Y, Z)(X, Y, Z are numbers)DATE>X, DATE<XDATERANGE(D1, D2)NOTEMPTYTEXT>X; TEXT<X(X is number of chars)TEXTANY(X, Y, Z)(X, Y, Z are single words)More than happy to hear your thoughts and ideas.
Originally posted by @yulqen in https://github.com/yulqen/datamaps/issues/14#issuecomment-769150545
Comment from @banillie from now-closed issue:
Relevant in this issue.
Make the NOTEMPTY validation the priority. NOTEMPTY takes precedence, then tests for other type, such as DATE.