-
-
Notifications
You must be signed in to change notification settings - Fork 264
parseAsTuple #1022
Copy link
Copy link
Labels
featureNew feature or requestNew feature or requestparsers/built-inRelated to built-in parsersRelated to built-in parsers
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or requestparsers/built-inRelated to built-in parsersRelated to built-in parsers
Type
Fields
Give feedbackNo fields configured for Feature.
Discussed in #1019
Please see the discussion there for guidance if you want to pick this issue for a PR. 🙏
Originally posted by tacomanator June 20, 2025
There have been a few situations where this would be useful, so I wanted to suggest it.
For example, a date range parser could be implemented as:
Advantages over
parseAsArrayOf(parseAsDate):[string, string]instead ofstring[]prevents certain type errors.Just an example there are obviously many others.