firebase dataconnect:compile command
Introduced 2026-01-29 · score 0.92
HOW TO USE IT
When a Firebase project has a Data Connect directory, run `firebase dataconnect:compile` to compile its schema, connector configuration, and GQL files and generate SDKs. Use `--service` and, when needed, `--location` to select services.
firebase dataconnect:compilefirebase dataconnect:compile --service <serviceId>firebase dataconnect:compile --service <serviceId> --location <location>WHY THIS HELPS
Compile a Data Connect project from the Firebase CLI.
REQUIREMENTS AND LIMITATIONS
- Version: v15.5.0
- --service <serviceId>: Service ID to compile; if omitted, compiles all services.
- --location <location>: Service location; only needed if the service ID is used in multiple locations.
- Prerequisite: A Data Connect project directory must be configured; if none is found, the CLI instructs you to run `firebase init dataconnect`.
FIRST-PARTY EVIDENCE
- https://github.com/firebase/firebase-tools/releases/tag/v15.5.0
- https://github.com/firebase/firebase-tools/blob/v15.5.0/src/commands/dataconnect-compile.ts
Check the installed version and the source before using it. Entry JSON