Skip to content

Conversation

@FranzBusch
Copy link
Collaborator

I continued the PR #762 from @fabianfett. I added the changes requested by @glbrntt to use a struct instead of a tuple to hold both values. Additionally, I added tests for this new functionality. Since this is my first time contributing it would be great if you @glbrntt could point out things that I am missing or I should have done differently.

Looking forward to your feedback :)

Copy link
Collaborator

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

Great start @FranzBusch -- I've left some comments inline.

@glbrntt glbrntt added the ⚠️ semver/major Breaks existing public API. label Jul 6, 2020
@glbrntt glbrntt added this to the 1.0.0 milestone Jul 6, 2020
@FranzBusch FranzBusch force-pushed the ff-trailing-metadata branch from 9406fbf to d98668b Compare July 20, 2020 11:12
Copy link
Collaborator

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

I've left some comments about testing: unfortunately we can't use XCTUnwrap here. We should also expand the tests to cover all 4 RPC types.

In addition you'll need to update the test manifest (make generate-linuxmain should do the trick).

@FranzBusch FranzBusch force-pushed the ff-trailing-metadata branch from d98668b to 899e146 Compare July 22, 2020 08:23
Copy link
Collaborator

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

Great stuff; you need to generate and commit the test manifests to get through the CI (make generate-linuxmain) but otherwise this looks good. I left a couple of style suggestions (missing self. etc.) too.

@FranzBusch FranzBusch force-pushed the ff-trailing-metadata branch from 899e146 to ccf9335 Compare July 22, 2020 09:08
Copy link
Collaborator

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

Looks great, subject to CI passing! Thanks a lot @FranzBusch

Copy link
Collaborator

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

Sorry @FranzBusch -- the CI was unhappy with this for Swift 5.0.

@FranzBusch FranzBusch force-pushed the ff-trailing-metadata branch from ccf9335 to aaae5a7 Compare July 22, 2020 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚠️ semver/major Breaks existing public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants