Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix return handling of GMEPO data #23

Merged
merged 4 commits into from
Mar 27, 2024
Merged

Conversation

MicheleNan
Copy link
Contributor

An issue has been identified regarding the handling of the GME PO data return.
Instead of simply passing the returned JSON to the deserializer, it was mistakenly treated as a list of dictionaries, similar to TS requests.
This resulted in the loss of values, with only the header of the items being returned in the payload.

Fix Applied: Restore the correct behaviour, passing the JSON to the deserializer

Copy link
Contributor

@AndreaCuneo AndreaCuneo left a comment

Choose a reason for hiding this comment

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

add unit tests mocking the returned Json as string as done in

json=self.__serializedOutput,

@AndreaCuneo AndreaCuneo self-requested a review March 27, 2024 13:36
@AndreaCuneo AndreaCuneo merged commit 7de7962 into master Mar 27, 2024
15 of 16 checks passed
@AndreaCuneo AndreaCuneo deleted the Fix-GMEPO-executeasync-issue branch March 27, 2024 13:37
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