Skip to content
This repository was archived by the owner on Sep 10, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions lib/src/codegen/firebase_link.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
/// itself; both are sitting in files FlutterFire has just written. Asking
/// someone to copy them by hand is how a first launch fails on a configuration
/// error long after the tool said it was finished.
///
/// Both destinations already declare the key being filled, so this assigns into
/// a slot rather than appending anything. They are edited by different methods
/// for one reason: `app-config.json` is plain JSON and can be decoded, merged and
/// re-encoded, while `wrangler.jsonc` carries comments its owner wrote, so only
/// the single assignment is rewritten in place. See [setJsonString] for how that
/// stays safe, and eigen-server's MAINTAINERS.md for the wider rule on editing
/// files a generated project owns.
library;

import 'dart:convert';
Expand Down