Skip to content

added recursive json serialization for entities#626

Merged
SilasKenneth merged 2 commits intomicrosoftgraph:devfrom
Dakoni4400:recursive_serialization
Nov 8, 2021
Merged

added recursive json serialization for entities#626
SilasKenneth merged 2 commits intomicrosoftgraph:devfrom
Dakoni4400:recursive_serialization

Conversation

@Dakoni4400
Copy link
Copy Markdown

@Dakoni4400 Dakoni4400 commented Nov 8, 2021

Summary

When calling jsonSerialize() on PHP entities if the properties of that entity contain any other entities it does not serialize them properly. This pull request adds in the recursive serialization for entities.

Microsoft Reviewers: Open in CodeFlow

@baywet
Copy link
Copy Markdown
Member

baywet commented Nov 8, 2021

Hi @Dakoni4400
Thanks for the contribution.
You'll find a test folder and a beta test folder that need to be updated. (look at the launch.json if you're looking for the arguments used for the test folders)

@Dakoni4400 Dakoni4400 requested a review from baywet November 8, 2021 13:00
@baywet
Copy link
Copy Markdown
Member

baywet commented Nov 8, 2021

thanks for updating the test files.
deferring to @SilasKenneth and @Ndiritu for final review and merge.

@Dakoni4400
Copy link
Copy Markdown
Author

Thanks for the quick support @baywet

Copy link
Copy Markdown
Member

@SilasKenneth SilasKenneth left a comment

Choose a reason for hiding this comment

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

Thank you so much @Dakoni4400 for putting this together, we really appreciate your effort to make improvements to the PHP SDK. Will be creating a PR with these changes shortly.

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.

3 participants