msgraph-sdk-ruby icon indicating copy to clipboard operation
msgraph-sdk-ruby copied to clipboard

Microsoft Graph Ruby client < 0.11.0 library is not actively supported

Open MIchaelMainer opened this issue 4 years ago • 10 comments

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.

MIchaelMainer avatar Apr 20 '20 14:04 MIchaelMainer

@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.

jfi avatar Jul 22 '20 22:07 jfi

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?

bmulholland avatar Nov 03 '20 16:11 bmulholland

@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.

MIchaelMainer avatar Nov 03 '20 17:11 MIchaelMainer

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

bmulholland avatar Nov 03 '20 17:11 bmulholland

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.

simonfranzen avatar Mar 01 '21 09:03 simonfranzen

@simonfranzen The feedback is appreciated.

MIchaelMainer avatar Mar 01 '21 21:03 MIchaelMainer

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.

omenking avatar Jul 17 '21 20:07 omenking

@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.

MIchaelMainer avatar Jul 28 '21 19:07 MIchaelMainer

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

kklimuk avatar Sep 22 '21 21:09 kklimuk