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
Current Behavior:
Right now, the Validator checks for whether the last rule is a valid rule or not. If it is it interprets it as a rule otherwise it is considered as a name to be used that while displaying error message. But in some cases (such as typos) the last value might be considered as a name even though it was intended as a rule.
Intended Behavior:
If the last value was intended as a rule but was not a valid rule, then it should throw error. And should be used as a name when intended.
Suggested Solution:
If the user wants the last value to be considered as a name, then maybe prefix it with an underscore (_) or something and then during printing the underscore can be removed.
The text was updated successfully, but these errors were encountered:
Current Behavior:
Right now, the Validator checks for whether the last rule is a valid rule or not. If it is it interprets it as a rule otherwise it is considered as a name to be used that while displaying error message. But in some cases (such as typos) the last value might be considered as a name even though it was intended as a rule.
Intended Behavior:
If the last value was intended as a rule but was not a valid rule, then it should throw error. And should be used as a name when intended.
Suggested Solution:
If the user wants the last value to be considered as a name, then maybe prefix it with an underscore (_) or something and then during printing the underscore can be removed.
The text was updated successfully, but these errors were encountered: