diff --git a/.changeset/sweet-goats-judge.md b/.changeset/sweet-goats-judge.md new file mode 100644 index 0000000000..5f7c2fb207 --- /dev/null +++ b/.changeset/sweet-goats-judge.md @@ -0,0 +1,5 @@ +--- +'@urql/core': patch +--- + +Removes double serialization of `data` in `ssrExchange` diff --git a/packages/core/src/exchanges/ssr.ts b/packages/core/src/exchanges/ssr.ts index 10fff64cf2..6716a54fb9 100644 --- a/packages/core/src/exchanges/ssr.ts +++ b/packages/core/src/exchanges/ssr.ts @@ -109,7 +109,6 @@ const serializeResult = ( includeExtensions: boolean ): SerializedResult => { const serialized: SerializedResult = { - data: JSON.stringify(result.data), hasNext: result.hasNext, };