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

Remove ScalaJS support #2869

Merged
merged 8 commits into from
Sep 23, 2023
Merged

Remove ScalaJS support #2869

merged 8 commits into from
Sep 23, 2023

Conversation

guizmaii
Copy link
Member

@guizmaii guizmaii commented Sep 18, 2023

@guizmaii guizmaii changed the title Sbt ci release no js Remove ScalaJS support Sep 18, 2023
@guizmaii guizmaii force-pushed the sbt-ci-release_no_js branch from 3748ffa to 698b470 Compare September 18, 2023 07:10
@guizmaii guizmaii force-pushed the sbt-ci-release_no_js branch from 9224241 to 92640f1 Compare September 20, 2023 12:03
implicit def dummyDecoder[T] =
(idx: Int, row: ResultRow, session: Session) => Messages.fail("quill decoders are not used for spark")
implicit def dummyDecoder[T]: (Index, ResultRow, ResultRow) => Nothing =
(_: Int, _: ResultRow, _: Session) => Messages.fail("quill decoders are not used for spark")
Copy link
Member Author

Choose a reason for hiding this comment

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

Remove some warnings

@@ -47,7 +47,7 @@ trait QuillSparkContext extends Context[SparkDialect, Literal] with Encoders wit
val idiom = SparkDialect
val naming = Literal

private implicit def datasetEncoder[T] =
private implicit def datasetEncoder[T]: (Index, Dataset[T], List[Binding], ResultRow) => List[Binding] =
Copy link
Member Author

Choose a reason for hiding this comment

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

Remove some warnings

@@ -15,7 +15,7 @@ class MirrorIdiomSpec extends Spec {

import MirrorIdiom._

implicit val naming = Literal
implicit val naming: Literal = Literal
Copy link
Member Author

Choose a reason for hiding this comment

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

Remove some warnings

@@ -9,7 +9,7 @@ object MirrorContexts {
object testAsyncContext extends AsyncMirrorContext(MirrorIdiom, Literal) with TestEntities {

// hack to avoid Await.result since scala.js doesn't support it
implicit val immediateEC = new ExecutionContext {
implicit val immediateEC: ExecutionContext = new ExecutionContext {
Copy link
Member Author

Choose a reason for hiding this comment

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

Remove some warnings

@@ -17,7 +17,7 @@ object DefaultNodeCatalog extends NodeCatalog {

private val logger = Logger(LoggerFactory.getLogger(this.getClass))

implicit def nodeToOpt(dagNode: DagNode) = Some(dagNode)
implicit def nodeToOpt(dagNode: DagNode): Option[DagNode] = Some(dagNode)
Copy link
Member Author

Choose a reason for hiding this comment

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

Remove some warnings

@@ -13,7 +13,7 @@ abstract class CodegenSpec extends AnyFreeSpec with SchemaMaker {
type Prefix <: ConfigPrefix
val prefix: Prefix

implicit def regToOption[T](t: T) = Some(t)
implicit def regToOption[T](t: T): Option[T] = Some(t)
Copy link
Member Author

Choose a reason for hiding this comment

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

Remove some warnings

@@ -6,6 +6,7 @@ on:
branches:
- master
- sbt-ci-release
- sbt-ci-release_no_js
Copy link
Member Author

Choose a reason for hiding this comment

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

TODO @guizmaii: TO REMOVE

@guizmaii guizmaii marked this pull request as ready for review September 23, 2023 12:54
@guizmaii guizmaii merged commit a868f5f into sbt-ci-release Sep 23, 2023
15 of 25 checks passed
@guizmaii guizmaii deleted the sbt-ci-release_no_js branch September 23, 2023 12:54
juliano pushed a commit that referenced this pull request Sep 24, 2023
…elated code && Rename `io.getquill.context.zio` package to `io.getquill.context.qzio` in the `jasync` modules (#2866)

* Migrate to sbt-ci-release

* Migrate to sbt-ci-release

* Fix sbt

* Don't wait for build

* Speed up release by splitting per Scala version

* Improve memory usage

* clean

* fix scala version

* clean

* fix CI

* Improve memory usage

* clean

* scalafmt

* try fix scaladoc

* try fix scaladoc

* try fix Scala 2.12 build

* Don't publish `quill-codegen-tests` module

* Revert "try fix Scala 2.12 build"

This reverts commit eb622c7.

* Don't publish `quill-codegen-tests` module

* Don't publish Scala JS modules

* Fix Scala Steward configuration (#2868)

* Remove ScalaJS support (#2869)

* Remove ScalaJS support

* run publish

* fix compilation

* fix compilation

* fix CI

* Fix Scala 2.12 doc generation

* Clean CI

* clean

* clean

* scalafmt

* Fix CI
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.

1 participant