Skip to content

Conversation

@Ndiritu
Copy link
Contributor

@Ndiritu Ndiritu commented Nov 4, 2022

Summary

Stream properties in models were NOT previously being serialized into the request payload.
This fix casts the streams to "string" which rewinds the stream & reads the stream's contents into a string

Generated code differences

https://github.com/microsoftgraph/msgraph-sdk-php/pull/1055/files
https://github.com/microsoftgraph/msgraph-sdk-php/pull/1056/files

Links to issues or work items this PR addresses

closes microsoftgraph/msgraph-sdk-php#1052

Microsoft Reviewers: Open in CodeFlow

@Ndiritu Ndiritu added the PHP Issues with generating PHP Code label Nov 4, 2022
@Ndiritu Ndiritu self-assigned this Nov 4, 2022
@Ndiritu Ndiritu merged commit 5997a4a into dev Nov 4, 2022
@Ndiritu Ndiritu deleted the fix/php-streams branch November 4, 2022 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PHP Issues with generating PHP Code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GuzzleHttp\Psr7\Stream properties in models NOT serialized to request body

3 participants