Skip to content

Support for Firebase Data Connect #8014

Open

Description

@nicolaosm

What feature would you like to see?

Is there any support for the new Firebase Data Connect yet? This is going to be massively useful when it's out of beta!

Activity

  1. mikehardy commented on Oct 11, 2024

    @mikehardy
    Collaborator

    I'm going to be presumptuous and pin this one ;-) - I don't think the idea of supporting Data Connect is going away, and this issue can be used to signal it for folks

    But please, please please 🙏 do not post "me too", "+1" or "I'd also love this" etc.

    Hit that subscribe button over there on the right side of the github web UI and give it an emoji reaction instead, to keep the issue clean and avoid notifications for everyone. Much appreciated :-)

  2. added
    Keep Openavoids the stale bot
    and removed on Oct 11, 2024
  3. mehmoodkhandev commented on Feb 3, 2026

    @mehmoodkhandev

    Hello dear community i want to ask the solution for the following problem i am facin
    I’m currently using Firebase Data Connect with Cloud SQL (PostgreSQL) and facing a limitation related to foreign key delete constraints.
    PostgreSQL natively supports ON DELETE RESTRICT, and when I manually apply this constraint directly in Cloud SQL, everything works perfectly and the application behaves exactly as intended.
    However, Data Connect does not provide any way to define or preserve ON DELETE RESTRICT in its schema. While Data Connect does expose an explicit directive (the ! notation) to define ON DELETE CASCADE, there is no equivalent option for RESTRICT or other delete behaviors.
    Because of this, when the database contains a valid ON DELETE RESTRICT constraint, Data Connect reports a brownfield schema mismatch error, stating that the SQL schema does not match the Data Connect schema and asking to make the SQL schema identical to Data Connect’s definition.
    This creates a serious problem for production systems:
    ON DELETE RESTRICT is a core relational integrity feature
    Data Connect recognizes CASCADE but provides no mechanism to define RESTRICT
    Manually applied constraints are rejected or flagged during deployment
    Questions / Requests:
    Is there an official way to define ON DELETE RESTRICT in Data Connect?
    If not, what is the recommended workaround that avoids schema drift and deployment failures?
    Are there plans to support explicit delete behaviors (RESTRICT / CASCADE / SET NULL) in the Data Connect schema?
    This capability is essential for production-grade relational database design, and first-class support would greatly improve Data Connect’s suitability for real-world systems.
    Thanks for your time, and I’d appreciate any guidance or roadmap clarity on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions