Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

all: scala 2.13 support + sbt syntax #134

Merged
merged 1 commit into from
Mar 22, 2019

Conversation

ahjohannessen
Copy link
Contributor

@ahjohannessen ahjohannessen commented Mar 21, 2019

  • add scala 2.13 support.

  • fix value-discard issues in SourceStageLogic, Client
    and ConnectionActor.

  • fix tests in ProjectionsClientITest wrt. should beSome(X)
    and X is a case object to be shouldEqual Some(X) as
    Scala 2.13 fails with a type mismatch error.

  • add ScalaCompat object in unmanaged sources in
    core project in order to be able to cross compile.

  • change TestConnection to use ScalaCompat in order to get
    Scala 2.12 and 2.13 working with minimal changes, LazyList
    replaces Stream.

  • fix shadow warnings and unused variables in ConnectionActorSpec
    and ProjectionsClientITest.

  • change OneToMany to use Iterable and IterableOnce and
    use import eventstore.ScalaCompat._ in order to have cross
    builds working.

  • change build.sbt and version.sbt to use recommended syntax
    for scopes.

  • bump sbt-scoverage to 1.6.0-M5 in order to get 2.13 support.

@ahjohannessen
Copy link
Contributor Author

@t3hnar WDYT?

@ahjohannessen ahjohannessen force-pushed the wip-scala213 branch 2 times, most recently from dca410c to f8650bb Compare March 22, 2019 10:40
build.sbt Outdated Show resolved Hide resolved
build.sbt Show resolved Hide resolved
 - add scala 2.13 support.

 - fix value-discard issues in `SourceStageLogic`, `Client`
   and `ConnectionActor`.

 - fix tests in `ProjectionsClientITest` wrt. `should beSome(X)`
   and `X` is a case object to be `shouldEqual Some(X)` as
   Scala 2.13 fails with a `type mismatch` error.

 - add `ScalaCompat` object in unmanaged sources in
   core project in order to be able to cross compile.

 - change `TestConnection` to use `ScalaCompat` in order to get
   Scala 2.12 and 2.13 working with minimal changes, `LazyList`
   replaces `Stream`.

 - fix shadow warnings and unused variables in `ConnectionActorSpec`
   and `ProjectionsClientITest`.

 - change `OneToMany` to use `Iterable` and `IterableOnce` and
   use `import eventstore.ScalaCompat._` in order to have cross
   builds working.

 - change build.sbt and version.sbt to use recommended syntax
   for scopes.

 - bump sbt-scoverage to 1.6.0-M5 in order to get 2.13 support.
@ahjohannessen
Copy link
Contributor Author

@t3hnar feedback applied - I'll do a follow up PR with TpolecatPlugin

@t3hnar t3hnar merged commit de63edd into EventStore:master Mar 22, 2019
@ahjohannessen ahjohannessen deleted the wip-scala213 branch March 22, 2019 14:31
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants