Skip to content

Conversation

@egilmorez
Copy link
Contributor

Formatting existing examples and adding Crashlytics.

Stage internally at https://firebase.devsite.corp.google.com/docs/reference/functions/handler_builder_.handlerbuilder#crashlytics

Thanks!

@egilmorez egilmorez requested a review from laurenzlong April 7, 2020 22:10
@egilmorez egilmorez changed the base branch from master to launch.handler-docs April 7, 2020 22:10
* @example
* ```javascript
* exports.myFunction = functions.handler.crashlytics.issue().onNew(async
Copy link
Contributor

Choose a reason for hiding this comment

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

This should actually be exports.myFunction = functions.handler.crashlytics.issue.onNew(async. No brackets after issue. Everything in the handler namespace is formatted like this, no parameters. Same applies for the other examples for crashlytics.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Got it -- removed the parens. Hope these are correct now, thanks!

@egilmorez egilmorez merged commit 3f6b2a6 into launch.handler-docs Apr 8, 2020
@egilmorez egilmorez deleted the crashlytics-handler branch April 8, 2020 00:46
laurenzlong added a commit that referenced this pull request May 1, 2020
* Adding top-level comment and TOC for functions.handler. (#633)

* Adding top-level comment and TOC for functions.handler.

* Adding edits from feedback.

* Refer specifically to Firebase CLI.

* Adding top-level comment and TOC for functions.handler. (#633)

* Adding top-level comment and TOC for functions.handler.

* Adding edits from feedback.

* Refer specifically to Firebase CLI.

* Pin "typedoc" version to 0.14.2 (#655)

* Add docstrings for handler.firestore, handler.database, and handler.https (#652)

* Document a few providers

* Remove extra sentence in http function docstring

* Crashlytics handler details and example formatting (#656)

* Adding comments for Crashlytics handler.

* Removing parens for parameters per feedback.

* Eg moar handlers (#657)

* Adding RC and Analytics handlers.

* Adding Storage object handler.

* Adding Pub/Sub and Test Lab handlers.

* Adding auth handler.

* Fixing typo.

* Removing async to be consistent among examples. (#658)

* handler functions: copy-edits in comments only (#675)

* Removing async syntax from Storage handlers. (#678)

Co-authored-by: egilmorez <egilmore@google.com>
Co-authored-by: rachelsaunders <52258509+rachelsaunders@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants