diff --git a/.rfcs/001-serialize-async.md b/.rfcs/001-serialize-async.md index 766a7d39..7b7c7683 100644 --- a/.rfcs/001-serialize-async.md +++ b/.rfcs/001-serialize-async.md @@ -76,6 +76,8 @@ export async function* stringifyEmitter() { case "VALUE": { if (!isFirstStreamedValue) { + // add a comma between each value to ensure it's valid JSON + // needs to be ignored yield ","; }