Skip to content
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

array.map method #5149

Open
olivernybroe opened this issue Dec 6, 2023 · 4 comments
Open

array.map method #5149

olivernybroe opened this issue Dec 6, 2023 · 4 comments
Labels
🐶 dogfood Discovered while dogfooding Winglang ✨ enhancement New feature or request 🎨 sdk SDK

Comments

@olivernybroe
Copy link
Contributor

Feature Spec

array.map:
Creates a new array populated with the results of calling a provided function on every element in the calling array.

Use Cases

Transform data into other data.

Implementation Notes

No response

Component

SDK

Community Notes

  • Please vote by adding a 👍 reaction to the issue to help us prioritize.
  • If you are interested to work on this issue, please leave a comment.
  • If this issue is labeled needs-discussion, it means the spec has not been finalized yet. Please reach out on the #dev channel in the Wing Slack.
@olivernybroe olivernybroe added needs-discussion Further discussion is needed prior to impl ✨ enhancement New feature or request labels Dec 6, 2023
@eladb
Copy link
Contributor

eladb commented Dec 6, 2023

Removing needs-discussion, this is straightforward.

@eladb eladb removed the needs-discussion Further discussion is needed prior to impl label Dec 6, 2023
@Chriscbr
Copy link
Contributor

Chriscbr commented Dec 6, 2023

this is straightforward

Does the map() method accept an inflight function or a preflight function? I suspect we may need to support #435 first

@Chriscbr Chriscbr added the 🎨 sdk SDK label Dec 6, 2023
@olivernybroe
Copy link
Contributor Author

@Chriscbr could be made with inflight first and once the other problem fixed changed to both? 👀

@staycoolcall911 staycoolcall911 added the 🐶 dogfood Discovered while dogfooding Winglang label Dec 7, 2023
Copy link

github-actions bot commented Feb 6, 2024

Hi,

This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days.
Feel free to re-open this issue when there's an update or relevant information to be added.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐶 dogfood Discovered while dogfooding Winglang ✨ enhancement New feature or request 🎨 sdk SDK
Projects
Status: 🤝 Backlog - handoff to owners
Development

No branches or pull requests

4 participants