Skip to content

fix: deserialization bug for Base64Url#1114

Merged
n-o-u-r-h-a-n merged 14 commits intomainfrom
fix-deserialization-bug
Mar 11, 2026
Merged

fix: deserialization bug for Base64Url#1114
n-o-u-r-h-a-n merged 14 commits intomainfrom
fix-deserialization-bug

Conversation

@n-o-u-r-h-a-n
Copy link
Contributor

@n-o-u-r-h-a-n n-o-u-r-h-a-n commented Mar 9, 2026

Context

odata-v4-core binary deserialization rejects valid Base64URL values for Edm.Binary, so now sdk correctly treats the OutputBinaryData property to be Base64Url-encoded.

Feature scope:

  • Managed deserialization of Base64Url-encoded in ODataGenericConvertor.
  • Added tests in FieldSerializationTest to test the new approach proposed.

Definition of Done

  • Functionality scope stated & covered
  • Tests cover the scope above
  • Error handling created / updated & covered by the tests above
  • Documentation updated
  • Release notes updated

@n-o-u-r-h-a-n n-o-u-r-h-a-n changed the title chore: fix deserialization bug fix: deserialization bug for Base64Url Mar 9, 2026
Copy link
Contributor

@CharlesDuboisSAP CharlesDuboisSAP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

´+//v´ is referenced 3 times and the other one 2 times. It could be great if you put them in a static string with a name. Otherwise lgtm

Copy link
Contributor

@CharlesDuboisSAP CharlesDuboisSAP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A release note would be great

@n-o-u-r-h-a-n n-o-u-r-h-a-n merged commit 7c47325 into main Mar 11, 2026
13 checks passed
@n-o-u-r-h-a-n n-o-u-r-h-a-n deleted the fix-deserialization-bug branch March 11, 2026 10:04
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.

2 participants