microsoftgraph / msgraph-sdk-ruby

Microsoft Graph Ruby client library for v1 APIs
https://graph.microsoft.com
MIT License
100 stars 68 forks source link

`Base64url` not found #112

Open AlessioC31 opened 1 year ago

AlessioC31 commented 1 year ago

Hello,

I'm trying to use this sdk to get the emails from a mailbox.

I execute this code to get the mails: result = client.users_by_id("<mail>").messages.get.resume

But I get these errors:

image

Am I missing a dependency? Thanks!

baywet commented 1 year ago

Hi @AlessioC31 Thanks for reaching out and for using the Ruby SDK. We're still at an early preview stage for this language, expect to run into issues like these for the time being. This is caused because the serialization of byte array properties is not yet implemented in the generator for ruby And message contains a byte array property

The best workaround at this point until we implement that serialization is to select only the properties you care about with a select query parameter.