2 個答案
- 最新
- 最多得票
- 最多評論
0
I found a sloppy way of doing it via
$util.validate(false, $record.entity )
This will generate an error in graphql, but it can show what the value was of a variable.
已回答 5 年前
0
You can also just stash the value and it will show up in the logs, depending on your settings.
$util.qr($ctx.stash.put("debugthis", $record.entity))
Also note that your log level in AppSync must be set to ALL if you want to see this output.
已回答 5 年前
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前