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

Remove usages of GetData #747

Merged
merged 2 commits into from
Mar 8, 2024
Merged

Conversation

crazytonyli
Copy link
Contributor

@crazytonyli crazytonyli commented Mar 8, 2024

Description

This PR is built on top of #746.

This PR removes a couple of usages of GetData and uses WordPressComRestApi's decoding Decodable API.

Testing Details

The changes are covered by the new unit tests in #746.


  • Please check here if your pull request includes additional test coverage.
  • I have considered if this change warrants release notes and have added them to the appropriate section in the CHANGELOG.md if necessary.

@crazytonyli crazytonyli requested review from mokagio and guarani March 8, 2024 01:20
Base automatically changed from fix-com-rest-api-get-data to trunk March 8, 2024 01:32
Copy link
Contributor

@guarani guarani left a comment

Choose a reason for hiding this comment

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

Looks good! I confirmed that feature announcements work and the Zendesk code was able to fetch my site's plan.
Thanks @crazytonyli!

@guarani guarani merged commit b6d4b2e into trunk Mar 8, 2024
9 checks passed
@guarani guarani deleted the use-decodable-instead-of-get-data branch March 8, 2024 01:43
@guarani
Copy link
Contributor

guarani commented Mar 8, 2024

Merging as requested here: p1709860929336219/1709766129.730749-slack-C04PWEZSYFL

@mokagio, this one does not need to be included in the 24.4 beta.

crazytonyli added a commit to wordpress-mobile/WordPress-iOS that referenced this pull request Mar 8, 2024
Including a bug fix to getting feature announcement and zendesk
metadata. See
wordpress-mobile/WordPressKit-iOS#746 and
wordpress-mobile/WordPressKit-iOS#747.

See the full 14.0.0 - 14.0.1 changes [here][diff].

[diff]: wordpress-mobile/WordPressKit-iOS@14.0.0...14.0.1
crazytonyli added a commit to wordpress-mobile/WordPress-iOS that referenced this pull request Mar 8, 2024
Including a bug fix to getting feature announcement and zendesk
metadata. See
wordpress-mobile/WordPressKit-iOS#746 and
wordpress-mobile/WordPressKit-iOS#747.

See the full 14.0.0 - 14.0.1 changes [here][diff].

[diff]: wordpress-mobile/WordPressKit-iOS@14.0.0...14.0.1
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