Support Dart in Cloud Functions
Dart is not currently supported in Cloud Functions, so developers need to use more than one language in their code base. Here are some pain points they shared with the Firebase product team about this gap:
- They need to learn another language, and many of them do not have the same expertise in JavaScript as they do in Dart.
- The lack of features and tools, such as Hot Reload and Hot Restart, impacts development speed.
- Developers cannot share business logic and data models across the entire stack.
- Developers cannot use frequently used Dart packages on the server.
-
Paulo Oliveira commented
Oh yeah!
-
José Pérez commented
Cool
-
zaz pureimpro commented
Self explanatory. Can't wait to use a unified dart framework across cloud functions
-
Stijn Huygh commented
Would love it
-
Ousman Mahammed mahie commented
Amazon
-
Tekane Davina Haimona commented
💚
-
OAuth 2.0 commented
-
David Orakpo commented
No update on this?
-
Oussama Maatallah commented
pretty please? this is highly important for every solo flutter dev out there
-
Oussama Maatallah commented
come on, no news yet? I'm still hesitating from working on new Flutter projects just because of this
-
Aditya Majethia commented
I'm shocked how the Firebase Team is just burying their heads in the sand and refusing to even look at this. This should have been done 2 years ago.
Do you guys not have a product manager that's supposed to look at this stuff?
-
Soufiane G commented
When this happens, it'll be fancier than all my Christmas gifts combined
-
nor mi commented
We need this!
-
Oussama Maatallah commented
do we have an update here? this is highly requested
-
nor mi commented
I need to use same code style on all my project(Flutter).
-
Mustapha Amin commented
I can't count the number of times I've dropped JS/TS after attempting to learn them just because I want to write cloud functions. We need something we're familiar with.
-
Aaron DeLory commented
I just released [firebase_js_interop](https://pub.dev/packages/firebase_js_interop) which allows you to compose Firebase Cloud Functions in the Dart language
-
Michael Barr commented
I'd love to reuse code from my flutter apps in cloud functions, especially how I interact with firestore. It's possible to transpile dart code to javascript so the dart implementation could be built on the js implementation of fb functions and admin sdk.
-
Tony Downey commented
This is the single biggest bottleneck in Dart/Flutter development when using Firebase, it duplicates so much work.
-
Oussama Maatallah commented
what's the status here? is there a roadmap or something?