Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Conversation

@ctarda
Copy link
Contributor

@ctarda ctarda commented Jan 22, 2019

Implements part of issue #10316 in WordPress-iOS

In this PR:

  • Added an extension to WordPressComServiceRemote, to implement the call to the Segments Service
  • Added model objects to model the response and Result type.

To review:

  • Check out the branch
  • Make sure it builds and tests pass
  • Check out the code.

@ctarda ctarda added the enhancement New feature or request label Jan 22, 2019
@ctarda ctarda self-assigned this Jan 22, 2019
@ctarda ctarda requested a review from a user January 22, 2019 05:18
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "WordPressKit"
s.version = "1.7.0"
Copy link

@ghost ghost Jan 22, 2019

Choose a reason for hiding this comment

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

I'm not sure we should be updating the patch version in this case. It seems like we should be updating the minor version, yes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated!

case failure(SiteSegmentsError)
}

public struct SiteSegmentsRequest: Encodable {
Copy link

Choose a reason for hiding this comment

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

Incidentally, I created this issue to address the apparent duplication of the locale parameter.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

@ctarda I can confirm that this branch builds and the associated tests pass!

@ctarda ctarda merged commit 3b80805 into develop Jan 23, 2019
@ctarda ctarda deleted the feature/site-segments-service branch January 23, 2019 05:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants