2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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.
beantwortet vor 5 Jahren
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.
beantwortet vor 5 Jahren
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren