microsoftgraph / msgraph-sdk-android

Microsoft Graph SDK for Android! https://graph.microsoft.io
Other
51 stars 43 forks source link

Remove odata type defaults #73

Closed caitlinrussell closed 6 years ago

caitlinrussell commented 6 years ago

Fixes #72 Removes default odata.type value and serializes the parameter by default when it is provided. This prevents the user from having to include it in the additional data property bag.

caitlinrussell commented 6 years ago

odata.type is actually inherited from Entity, so it is not put into the AdditionalData property bag. It is a first-class field on the object. Do you prefer it as a field or as an additionaldata property?

caitlinrussell commented 6 years ago

@MIchaelMainer I updated the description of the PR to better align to what is happening in this commit