Skip to content
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

Microsoft Graph Ruby client < 0.11.0 library is not actively supported #69

Open
MIchaelMainer opened this issue Apr 20, 2020 · 10 comments
Labels
deprecated version isssues or pull requests related to the older non supported OData version

Comments

@MIchaelMainer
Copy link
Contributor

MIchaelMainer commented Apr 20, 2020

tl;dr
Don't use this client library.

Longer
We apologize for the situation. We currently do not have the resources available to maintain this library. Additionally, when we do have resources to restart work on supporting Ruby it is unlikely that we would continue to use the current approach that relies on an embedded copy of the metadata.

At this point, we have to encourage you to use your favorite Ruby HTTP client (like httparty) to make calls against the Microsoft Graph HTTP API. The documentation is written with the Microsoft Graph HTTP API as the primary focus. We do provide a sample/tutorial that demonstrates calling Microsoft Graph via Ruby.

Please continue to provide us feedback on the Ruby developer experience here in this repo. We do see the issues come through. We appreciate all feedback, especially the critical feedback.

@ghost ghost added the ToTriage label Apr 20, 2020
@MIchaelMainer MIchaelMainer pinned this issue Apr 20, 2020
@jfi
Copy link

jfi commented Jul 22, 2020

@MIchaelMainer Could this note be added in a prominent place to the README? I personally didn't find it until we came looking for why a specific piece of functionality didn't work.

@bmulholland
Copy link

Could you please clarify what this means? Specifically: should we avoid using this library at all? Or use it where possible and supplement it with e.g. httparty?

@MIchaelMainer
Copy link
Contributor Author

@bmulholland I have now added a tldr to my original post. Do not use this client library in your solution unless you are comfortable with the current state of this library and have no expectation that issues will be fixed or new features will be added. Me personally, I'd maybe use this repo for reference and use a general purpose http client.

@bmulholland
Copy link

@MIchaelMainer Quick response! Thanks for the clarification, that makes total sense. HTTP it is :)

@simonfranzen
Copy link

It's sad to hear that there are no resources available to provide a ruby sdk. Sorry to say, but AWS is doing a better job here.

@MIchaelMainer
Copy link
Contributor Author

@simonfranzen The feedback is appreciated.

@omenking
Copy link

omenking commented Jul 17, 2021

We are currently migrating our legacy system to Azure AD B2C.

Since we use Ruby on Rails our domain experience is in ruby it's really a shame that Microsoft does not maintain the Ruby SDK.

I guess we will have to just make our own gem.

@MIchaelMainer
Copy link
Contributor Author

@omenking We are looking to fill this gap. We are working on an OpenAPI code generator in a project named Kiota. Kiota will support Ruby. This way our generator won't be Microsoft Graph specific and be a general use tool. We will still have Microsoft Graph specific logic in our core Graph client, but the generator will not be targeted at just Microsoft Graph APIs.

@kklimuk
Copy link

kklimuk commented Sep 22, 2021

I ended up writing a small wrapper over the Graph API on my own since this is not supported: https://github.com/kklimuk/microsoft-graph-client

@omenking if y'all haven't build yours out yet, might be useful for you

@baywet baywet added the deprecated version isssues or pull requests related to the older non supported OData version label Dec 28, 2022
@baywet baywet unpinned this issue Jan 11, 2023
@baywet baywet changed the title README FIRST: Microsoft Graph Ruby client library is not actively supported Microsoft Graph Ruby client < 0.11.0 library is not actively supported Jan 11, 2023
@baywet
Copy link
Member

baywet commented Jan 11, 2023

Hi everyone!
I have great news, we're rebooting the Ruby SDK.
Any version strictly below 0.11.0 is not supported anymore since early 2020 and you should migrate off it.

Today we just released a new community preview, version 0.11.0 which features:

  • a fluent style API surface to build request (e.g. client.me.message_folders("inbox").messages("id").get.resume
  • models for the whole API with support for serialization/deserialization.
  • a middleware infrastructure (much of the handlers remain to be built, but over time you'll get automatic retry handling etc...)
  • and much more!

This new preview is based off our new modern client generator for APIs kiota. Please understand this is a really early preview, which will contain rough edges, here is the list of some of them.

Please give a try to the new version and give us feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecated version isssues or pull requests related to the older non supported OData version
Projects
None yet
Development

No branches or pull requests

7 participants