-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add remove node for array operations #609
Conversation
Adds a new array node that removes an item at a specified index and returns both the modified array and the removed item. Supports both positive and negative indices for flexible array manipulation. - Added remove.ts node implementation - Added comprehensive tests - Updated array node exports
🦋 Changeset detectedLatest commit: b74a3cf The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
Adds a new array node that removes an item at a specified index and returns both the modified array and the removed item. Supports both positive and negative indices for flexible array manipulation.
PR Type
Enhancement, Tests
Description
Remove Item
node for array operations, allowing removal of an item at a specified index and returning both the modified array and the removed item.Remove Item
node.Changes walkthrough 📝
index.ts
Add `remove` node to array exports
packages/graph-engine/src/nodes/array/index.ts
remove
to the array node exports.remove.ts
Implement `Remove Item` node for arrays
packages/graph-engine/src/nodes/array/remove.ts
Remove Item
node for arrays.remove.test.ts
Add tests for `Remove Item` node
packages/graph-engine/tests/suites/nodes/array/remove.test.ts
Remove Item
node.tidy-humans-melt.md
Add changeset for `Remove Item` node
.changeset/tidy-humans-melt.md
Remove Item
node.