winglang / winglang/wing

Wing by example - `@target`

Open
#7,166 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

💡 examples needs-discussion
Dominant language
TypeScript
Stars
5.4k
Forks
215
Avg merge
2h 9m
Merged PRs (30d)
27

Description

Description

Show some examples of how @target can be used to change the configuration of a bucket or change inflight logic based on whether you're running on one cloud target or another, or to limit some logic just for the simulator.

Reference

No response

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 Discord.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository for the “Wing by example” documentation and existing references to @target. Read the surrounding examples to match their format, then add examples showing target-specific bucket configuration, inflight logic, and simulator-only logic. Done means the requested use cases are documented clearly with runnable-looking examples.

Written by the indexing model from the issue text.

Assessment

Domain
cloud, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.