Skip to content

feat(gen-schema-view): add named database support#2638

Open
nyamage wants to merge 1 commit intofirebase:nextfrom
nyamage:gen-schema-view-named-database-support
Open

feat(gen-schema-view): add named database support#2638
nyamage wants to merge 1 commit intofirebase:nextfrom
nyamage:gen-schema-view-named-database-support

Conversation

@nyamage
Copy link

@nyamage nyamage commented Feb 15, 2026

Resolves #2637

Adds support for named Firestore databases when using Gemini for automatic schema generation.

Changes

  • Add databaseId field to CliConfig interface
  • Add --database-id CLI option for non-interactive mode
  • Add interactive prompt for database ID selection when using Gemini
  • Migrate from legacy firebase.firestore() to modular getFirestore() API

- Add databaseId field to CliConfig interface
- Add --database-id CLI option for non-interactive mode
- Add interactive prompt for database ID selection
- Migrate from legacy firebase.firestore() to modular getFirestore()
- Use proven pattern: getFirestore(databaseId) for named databases
- Maintain backward compatibility with default database
- Follow existing codebase patterns from other extensions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[fs-bq-schema-views]: add named database support for Gemini schema generation

1 participant