Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

bugfix/service-wrong-casing#531

Merged
baywet merged 2 commits intodevmicrosoftgraph/msgraph-sdk-java:devfrom
bugfix/service-wrong-casingmicrosoftgraph/msgraph-sdk-java:bugfix/service-wrong-casingCopy head branch name to clipboard
Oct 7, 2020
Merged

bugfix/service-wrong-casing#531
baywet merged 2 commits intodevmicrosoftgraph/msgraph-sdk-java:devfrom
bugfix/service-wrong-casingmicrosoftgraph/msgraph-sdk-java:bugfix/service-wrong-casingCopy head branch name to clipboard

Conversation

@baywet
Copy link
Member

@baywet baywet commented Oct 7, 2020

fixes #529

Adds support for pascal case in deserialization as the service sometimes replies with that casing instead of dromedary case.

Note: I've also considered adding a custom deserializer, but it results into a complex implementation with the other deserializers we have.
Changing the naming policy would have replaced the policy, causing other issues down the line.
Implementing a naming strategy would have impacted the serialization as well.

@baywet baywet merged commit b92a2fe into dev Oct 7, 2020
@baywet baywet deleted the bugfix/service-wrong-casing branch October 7, 2020 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Only the first chunk of email attachments gets uploaded (v2.2.0 and higher)

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.