fix(data-connect): correctly serialize strings with special characters by google-labs-jules[bot] · Pull Request #3056 · firebase/firebase-admin-node
Replaces manual string escaping with JSON.stringify in DataConnect API client to properly handle newlines and other control characters in mutation arguments. Adds a regression test for verifying newline escaping. Fixes #3043
previously requested changes Jan 17, 2026
- Removed specified lines. - Added tests for backslash, double quotes, tab character, and emoji string serialization.
yuchenshi
deleted the
issue-3043-fix-dataconnect-string-serialization-9056897190574707316
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters