`indent` option in `Json.stringify` needs to be a keyword argument and not a positional argument
eladb opened this issue · 2 comments
eladb commented
I tried this
Json.stringify(foo, indent: 2);
I expected this:
To work
Instead, this happened
Apparently the indent
option is a positional argument:
Is there a workaround?
Json.stringify(foo, 2);
Component
SDK
Wing Version
No response
Wing Console Version
No response
Node.js Version
No response
Platform(s)
No response
Anything else?
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.
github-actions commented
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!
monadabot commented
Congrats! 🚀 This was released in Wing 0.25.33.