-
Notifications
You must be signed in to change notification settings - Fork 221
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
Dart support #3745
Comments
@baywet Are there docs how to add support for new languages by now? Dart would be a great addition and I'd like to play around with kiota. |
@ricardoboss We don't have public documentation for this today. |
Hey @baywet, can I get your input on my attempt to implement the interfaces you mentioned? https://github.com/ricardoboss/dart_kiota_abstractions Would this be enough to start working on a generator? |
You've made great progress! |
Thanks! Feedback in the form of issues in that repo is fine. I don't know any Dart specialists personally, but maybe someone viewing this issue wants to chime in and leave some feedback :) Package publishing is done on pub.dev. Dart packages don't have namespaces, but there are verified publishers. If you want to know more, I suggest you look here: https://dart.dev/tools/pub/publishing The package in its current form cannot be published. This is because of the Edit: of course I am willing to provide help and information where needed! Edit 2: If I publish the package now (as a prerelease for example) it is still possible to transfer the package over to a Microsoft-owned publisher later on (I'm thinking of https://pub.dev/publishers/microsoft.com). Edit 3: As it turns out, I would have to be a member of the publisher to transfer the package. So its best to use a different name or just don't publish it at all. |
You've done some great work there! I created a couple of issues. |
Fine by me.
It is doable. Take a look at how its done in this repo: https://github.com/std-uritemplate/std-uritemplate |
I meant grouping the dart dependencies (abstractions, json, http,...) on the same repo. Not grouping the same type of dependency across languages (all abstractions for example) on the same repo. |
Oh sorry. Yeah that is also possible quite easily. The Flutter team uses a monorepo approach for their own packages: https://github.com/flutter/packages/tree/main/packages |
Is there any movement on this? Flutter is VERY common especially in enterprise for creating cross platform apps. It would be VERY beneficial to have Dart support for this reason. |
@JohnGalt1717 there is movement! A few colleagues from https://topicus.nl/ and me are actively working on implementations and code generation. I can't give an estimate when this can go into preview but it's being worked on. If you want to check the current state of development, please go to: https://github.com/kiota-community/dart_kiota and main...kiota-community:kiota-dart:features/dart |
Awesome!!!! Can't wait! (this and enums with key/value will make this project absolutely rock) |
It looks like this was merged? Is it now available? |
Here is an update:
There are no timelines we can share at this time. (after all, the work is being volunteered) But we'll keep this issue posted. And of course, if you want to help with the work, we're happy to receive contributions! |
To add to what @baywet said, this issue contains more details about what is currently going on/still missing before this can go into preview: microsoft/kiota-dart#52 |
Any Dart developers out there interested in contributing, you can open PRs for the Dart packages here: https://github.com/microsoft/kiota-dart |
Do you plan to add Dart client generation support to make it compiable with Flutter?
And thanks for a great tool!
Tasks
The text was updated successfully, but these errors were encountered: