From 3ee7594ec38c1ed7c7cba817b6d35a60177f164b Mon Sep 17 00:00:00 2001 From: KATT Date: Mon, 2 Oct 2023 20:07:38 +0200 Subject: [PATCH] add --- .rfcs/001-serialize-async.md | 2 ++ 1 file changed, 2 insertions(+) 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 ","; }