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

Endpoints ♥ Cats Effect #1003

Merged
merged 14 commits into from
Oct 10, 2018
Merged

Endpoints ♥ Cats Effect #1003

merged 14 commits into from
Oct 10, 2018

Conversation

vkostyukov
Copy link
Collaborator

@vkostyukov vkostyukov commented Oct 9, 2018

We'll merge these commits into master and continue the development there. Before doing this, we need to branch rerunnable off of master so we can continue publishing artifacts for people who aren't ready to make an immediate move.

To-do (before merging):

Update: Ugh I'm terrible at merging - not sure why we end up with duplicate commits.

sergeykolbasov and others added 5 commits September 29, 2018 09:06
* Switch to effect-agnostic Endpoint

* Update to cats-effect 1.0.0-RC3 & cats 1.2.0. Some small fixes and refactoring

* Replace default Rerunnable module with cats IO

* Fix Effect definition of Try in specs

* Update cats & cats-effect

* Enable cancellation propagation from Finagle to effect

* Enable Endpoint[F].foo syntax for all the built-in endpoints

* Turn Module into trait. Remove EffectInstance
…uration (#996)

* replace twitter.Duration to scala.Duration
* fix import ordering in spec
* aliasing Duration => ScalaDuration not needed; and use Duration.Inf
@codecov-io
Copy link

codecov-io commented Oct 9, 2018

Codecov Report

Merging #1003 into master will increase coverage by 0.07%.
The diff coverage is 78.26%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1003      +/-   ##
==========================================
+ Coverage   83.99%   84.06%   +0.07%     
==========================================
  Files          50       47       -3     
  Lines         856      885      +29     
  Branches       51       55       +4     
==========================================
+ Hits          719      744      +25     
- Misses        137      141       +4
Impacted Files Coverage Δ
...ore/src/main/scala/io/finch/internal/package.scala 97.43% <ø> (-0.13%) ⬇️
core/src/main/scala/io/finch/package.scala 100% <ø> (ø) ⬆️
...amples/src/main/scala/io/finch/iteratee/Main.scala 0% <0%> (ø) ⬆️
...eric/src/main/scala/io/finch/generic/package.scala 100% <100%> (ø) ⬆️
core/src/main/scala/io/finch/endpoint/method.scala 100% <100%> (ø)
circe/src/main/scala/io/finch/circe/Decoders.scala 100% <100%> (ø) ⬆️
core/src/main/scala/io/finch/endpoint/path.scala 100% <100%> (+4%) ⬆️
core/src/main/scala/io/finch/internal/Mapper.scala 100% <100%> (ø)
core/src/main/scala/io/finch/ToService.scala 100% <100%> (ø) ⬆️
core/src/main/scala/io/finch/DecodeEntity.scala 100% <100%> (ø) ⬆️
... and 22 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 cd98c95...b53d4c2. Read the comment docs.

vkostyukov and others added 9 commits October 9, 2018 16:15
* starts the effort to simplify artifact release
* lint fix
* hardcoded name and email
* replace twitter.Try[A] with Either[Throawble, A]
* replace Try#toEither with old try-catch
* rebase from cats-effect and replace more twitter.Try
* catch error in EndpointResult#awaitOutput
* fix awaitOutputUnsafe to throw an error from Option
* update to scala 2.11 friendly code
* remove unused header.apply and twitter.Try Eq
@vkostyukov vkostyukov merged commit 2528f60 into master Oct 10, 2018
@sergeykolbasov sergeykolbasov deleted the cats-effect branch September 3, 2019 12:47
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.

5 participants