wing
wing copied to clipboard
confusing map view, putJson appears with no apparent reason
I tried this:
bring cloud;
let b = new cloud.Bucket();
let sqs = new cloud.Queue();
b.onCreate(inflight (f) => {
sqs.push(f);
});
sqs.setConsumer(inflight (m) => {
log("{m}");
});
let fn = new cloud.Function(inflight () => {
b.put("file.txt", "Hello World");
});
This happened:
I expected this:
- Not to see
putJson - The oncreate handler should have a connection to the queue (via push) - (probably already covered by https://github.com/winglang/wing/issues/6458)
Is there a workaround?
No response
Anything else?
No response
Wing Version
0.73.46
Node.js Version
No response
Platform(s)
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.