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.
-
Note that this is going to be dependent on also having a Dart Admin SDK, which is tracked here: https://firebase.uservoice.com/forums/948424-general/suggestions/46591735-dart-support-for-the-firebase-s-admin-sdk
-
Alexander Regier commented
I don't know how useful this is.
Sure, I can understand your reasoning, but there is no one-fits all language.
So only because Dart works well on mobile, it's not necessarily the best for backend.Different languages and frameworks exist for different use cases so "they want to have one language in one code base for all their products" is not really a thing.