Firebase-functions: Using Dart to write Firebase Functions?

Created on 15 Jan 2019  路  11Comments  路  Source: firebase/firebase-functions

Hello Team;
When is Firebase going to support Dart to write Cloud Functions? We're planning to use ONE language to build the frontend (Flutter) and Backend (FB Functions) than going with Node JS to write backend.

Thanks!

needs-triage

Most helpful comment

Hey @BenHayat, thanks for the suggestion. We don't have any plans to add support for languages other than node in the near future. However, I've filed an internal feature request for this, so that we can track demand and which languages developers want the most. Closing since there won't be immediate action on this.

All 11 comments

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

Hey @BenHayat, thanks for the suggestion. We don't have any plans to add support for languages other than node in the near future. However, I've filed an internal feature request for this, so that we can track demand and which languages developers want the most. Closing since there won't be immediate action on this.

Any update on this? This would be really sweet.

By the way: This is the third most rated request in this repo.

I am going to add my voice to this.

The ability to support dart for firebase cloud functions would be VERY powerful.
not only would it allow for the use of a single language for the entire stack, but think of the code sharing benefits. Having a model class defined once, and then using the same one in both your flutter apps, your web apps, as well as having the 'server-side' functions all using the same dataModel.dart class. then do the same with your services, and all other common BL.

it really could be game changing. especially for smaller teams / companies.

I am surprised that google has put SO much effort into flutter, and yet keeps putting this off. I for one, feel like it is inevitable given the current growth rate of flutter and dart. It just makes sense.

Gonna go ahead and pile on because this is the internet and that's what people do... I would LOVE the crap out of this! Having worked with Dart extensively for several years I've watched it turn into an amazing language with a great mix of pragmatism and purity. I wish I could use it for everything, particularly given the roadmap that the Dart team has laid out with native compilation support, non-nullable by default, etc. An easy path to writing cloud functions would be, like, icing on the cake or something.

count me in - would love that !

This would be awesome to further promote Dart as a language. So far I love Dart, it's like Typescript without randomly breaking due to Babel.

This is an inevitable request. We love dart, flutter and firebase. But forcing to use js for cloud functions is ugly.

@joehan It has been 15 months since this issue was closed. What does the internal feature request look like? Are we the minority, or have you guys seen an increase in devs asking for this?
I would assume there has been as increase, but the real question is:

Has the demand for dart cloud functions increased enough to get the feature on the roadmap?

This is really a requirement for Flutter to achieve the strategic importance Google has placed on it. Smaller shops that need to optimize developer talent will benefit immensely from having a common code base. It is mystifying that this hasn't already been done. So in case anyone is keeping track, here is one more request asking that this be prioritized and implemented as soon as possible.

Current status: We don't have any plans to add support for languages other than node in the near future. We'll update if that changes. Locking thread to prevent additional ETA requests.

Was this page helpful?
0 / 5 - 0 ratings