Extract message content in mini-playground output to match rpk CLI#360
Extract message content in mini-playground output to match rpk CLI#360JakeSCahill merged 1 commit intomainfrom
Conversation
The mini-playground was showing the full WASM result structure {"msg": {...}, "meta": {...}} while the main playground and rpk CLI extract just the message content. Now both playgrounds display consistent output.
✅ Deploy Preview for docs-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
📝 WalkthroughWalkthroughThe change modifies the result display logic in the Bloblang interactive JavaScript module. When a Bloblang mapping produces a result, the code now checks if the parsed JSON object contains a Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |

Summary
Fixes inconsistency between mini-playground and main playground output display.
Before:
{ "msg": { "message": "hello world" } }{ "message": "hello world" }{ "message": "hello world" }After:
.msgfield)Changes
.msgfield from WASM result before displaying in mini-playgroundrpk connect bloblCLITesting
rpk connect bloblfor consistency