intuit / intuit/common-xtext-expression-language
Add support for primitive arrays in remove function
- Dominant language
- Java
- Stars
- 11
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
The filter function does not support filtering primitive arrays like below
remove(["foo", "bar", "foobar"], length(it)==3)
This is mainly because it does not support `it` reference
**Describe the solution you'd like**
Add support for `it` operator in remove function, so that it supports a primitive array
Contributor guide
Research direction
The issue names the remove function, filter behavior, primitive arrays, and the it reference but no files or tests. Start by locating the remove implementation and existing tests for filter or it; done means remove accepts the shown primitive-array expression and its behavior is covered by a test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100