Skip to content

Conversation

@deepak786
Copy link
Contributor

@deepak786 deepak786 commented Jul 21, 2021

Description

  1. create separate firebase_database_platform_interface package
  2. federate firebase_database plugin

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • My PR includes unit or integration tests for all changed/updated/fixed behaviors (See [Contributor Guide]).
  • All existing and new tests are passing.
  • I updated/added relevant documentation (doc comments with ///).
  • The analyzer (melos run analyze) does not report any problems on my PR.
  • I read and followed the [Flutter Style Guide].
  • I signed the [CLA].
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • Yes, this is a breaking change.
  • No, this is not a breaking change.

@google-cla
Copy link

google-cla bot commented Jul 21, 2021

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@google-cla google-cla bot added the cla: no label Jul 21, 2021
@deepak786
Copy link
Contributor Author

@googlebot I signed it!

@deepak786 deepak786 changed the title created firebase_database_platform_interface [firebase_database]: created firebase_database_platform_interface Jul 21, 2021
@deepak786 deepak786 changed the title [firebase_database]: created firebase_database_platform_interface [firebase_database] created firebase_database_platform_interface Jul 21, 2021
Copy link
Contributor Author

@deepak786 deepak786 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we make this enum (EventType) public (which is not required for now) then need to update the event string in native sides also. Should I make this EventType enum public?

@deepak786 deepak786 marked this pull request as draft July 21, 2021 18:51
@deepak786 deepak786 marked this pull request as ready for review July 22, 2021 07:29
@deepak786 deepak786 changed the title [firebase_database] created firebase_database_platform_interface [firebase_database] firebase_database_platform_interface Jul 22, 2021
@deepak786
Copy link
Contributor Author

@Salakar I have submitted this pull request which will create a separate firebase_platform_database_reference and federate the firebase_database.
But as per the comment #1835 (comment), you also want to improve the integration tests.
Could you please guide or help to improve the integration tests?

@deepak786
Copy link
Contributor Author

deepak786 commented Aug 25, 2021

check all_plugins / analyze (pull_request) is failing because I have used the path dependency of firebase_database_platform_interface to federate the firebase_database plugin.
firebase_database_platform_interface is not available on pub.dev yet.

Copy link
Member

@lesnitsky lesnitsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all comments are related to the code which was moved around, not authored by the @deepak786, so not sure if that should be of his concern. @Salakar thoughts?

@google-cla
Copy link

google-cla bot commented Sep 1, 2021

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@google-cla google-cla bot added cla: no and removed cla: yes labels Sep 1, 2021
@google-cla
Copy link

google-cla bot commented Sep 1, 2021

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@lesnitsky lesnitsky added cla: yes and removed cla: no labels Sep 1, 2021
@google-cla
Copy link

google-cla bot commented Sep 1, 2021

☹️ Sorry, but only Googlers may change the label cla: yes.

@google-cla google-cla bot removed the cla: yes label Sep 1, 2021
@google-cla
Copy link

google-cla bot commented Sep 2, 2021

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@google-cla google-cla bot added the cla: no label Sep 2, 2021
@lesnitsky
Copy link
Member

@deepak786 would you be willing to give your consent for co-authoring this? I've fixed my comments myself 😉

@lesnitsky
Copy link
Member

@googlebot I consent.

@google-cla google-cla bot added cla: yes and removed cla: no labels Sep 2, 2021
@deepak786
Copy link
Contributor Author

@googlebot I consent.

@deepak786
Copy link
Contributor Author

@lesnitsky is that you asked?

@lesnitsky
Copy link
Member

@deepak786 yes, thanks

@Salakar Salakar merged commit ed4498a into firebase:master Sep 2, 2021
@firebase firebase locked and limited conversation to collaborators Oct 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants