8000 Fcm GAPIC type conversion by maceonthompson · Pull Request #1354 · firebase/firebase-admin-node · GitHub
[go: up one dir, main page]

Skip to content

Fcm GAPIC type conversion #1354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

maceonthompson
Copy link

Add private method that converts from public messaging.Message type to the similar but generated IMessage type.

@maceonthompson maceonthompson requested a review from hiranya911 July 2, 2021 18:15
@maceonthompson maceonthompson self-assigned this Jul 2, 2021
Copy link
Contributor
@hiranya911 hiranya911 left a comment

Choose a reason for hiding this comment

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

Looks mostly good. Few minor changes suggested. Also let's work on getting the unit tests to pass.

@hiranya911
Copy link
Contributor

Also sync up/rebase with the base branch so the gulpfile changes are included in the revision history. Without it we cannot run integration tests on this branch directly.

I was able to run integration tests by manually merging the gulpfile changes to this branch on my local machine:

% npm run test:integration -- --grep messaging

> firebase-admin@9.9.0 test:integration /Users/hkj/Projects/firebase-admin-node/public
> mocha test/integration/*.ts --slow 5000 --timeout 20000 --require ts-node/register "--grep" "messaging"

  admin.messaging
    ✓ send(message, dryRun) returns a message ID

Nice work 👍

Copy link
Contributor
@hiranya911 hiranya911 left a comment

Choose a reason for hiding this comment

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

Looks mostly good. Please address the open comments from this and past reviews, and we should be good to go.

Copy link
Contributor
@hiranya911 hiranya911 left a comment

Choose a reason for hiding this comment

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

Thanks for making the changes and for the responses to earlier questions. Looks pretty good. I only pointed out a few nits, but this is almost done.

@maceonthompson maceonthompson added release:stage Stage a release candidate and removed release:stage Stage a release candidate labels Aug 4, 2021
Copy link
Contributor
@hiranya911 hiranya911 left a comment

Choose a reason for hiding this comment

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

Thanks. LGTM 👍

}

options.projectId = projectId;
}).then(() => {
Copy link
Contributor

Choose a reason for hiding this comment

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

You can drop this line safely, and it would still work.

@maceonthompson maceonthompson merged commit 3900ea9 into maceo-fcm-gapic-client Aug 9, 2021
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.

3 participants
0