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

API: Create milestone #391

Merged
merged 6 commits into from Mar 28, 2020
Merged

API: Create milestone #391

merged 6 commits into from Mar 28, 2020

Conversation

anamariamv
Copy link
Contributor

Copy link
Contributor

@BenFradet BenFradet left a comment

Choose a reason for hiding this comment

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

I guess we don't want integration tests for this one?

LGTM 👍

@@ -314,4 +314,24 @@ trait Issues[F[_]] {
headers: Map[String, String] = Map()
): F[GHResponse[List[Milestone]]]

/**
*
Copy link
Contributor

Choose a reason for hiding this comment

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

missing doc

title: String,
state: Option[String],
description: Option[String],
due_on: Option[String],
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if in these cases it wouldn't be better to supply a value of type date and format it ourselves, wdyt? 🤔

Copy link
Member

Choose a reason for hiding this comment

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

Yes, I agree, it looks like we'll need a ZonedDateTime

Copy link
Contributor

@bond15 bond15 left a comment

Choose a reason for hiding this comment

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

👍

Ana Marquez Velazquez added 2 commits March 27, 2020 12:08
@codecov-io
Copy link

codecov-io commented Mar 27, 2020

Codecov Report

Merging #391 into master will increase coverage by 14.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #391       +/-   ##
===========================================
+ Coverage   78.71%   92.72%   +14.00%     
===========================================
  Files          23       23               
  Lines         531      536        +5     
  Branches        2        2               
===========================================
+ Hits          418      497       +79     
+ Misses        113       39       -74     
Impacted Files Coverage Δ
github4s/src/main/scala/github4s/Encoders.scala 96.15% <100.00%> (+0.15%) ⬆️
...cala/github4s/interpreters/IssuesInterpreter.scala 100.00% <100.00%> (ø)
github4s/src/main/scala/github4s/Decoders.scala 90.90% <0.00%> (+6.81%) ⬆️
.../scala/github4s/interpreters/AuthInterpreter.scala 100.00% <0.00%> (+53.33%) ⬆️
...ub4s/src/main/scala/github4s/http/HttpClient.scala 92.85% <0.00%> (+78.57%) ⬆️
github4s/src/main/scala/github4s/Github.scala 100.00% <0.00%> (+100.00%) ⬆️
...ub4s/src/main/scala/github4s/GithubResponses.scala 100.00% <0.00%> (+100.00%) ⬆️
...4s/src/main/scala/github4s/http/Http4sSyntax.scala 100.00% <0.00%> (+100.00%) ⬆️
...s/src/main/scala/github4s/domain/PullRequest.scala 100.00% <0.00%> (+100.00%) ⬆️
...s/src/main/scala/github4s/modules/GithubAPIs.scala 100.00% <0.00%> (+100.00%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d96c6e9...ade0e35. Read the comment docs.

@anamariamv anamariamv merged commit e759408 into master Mar 28, 2020
@juanpedromoreno juanpedromoreno deleted the am-create-milestone branch March 28, 2020 16:11
@BenFradet BenFradet mentioned this pull request Mar 29, 2020
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.

None yet

5 participants