Skip to content

Commit

Permalink
Use Tapir to implement adapters (ghostdogpr#1125)
Browse files Browse the repository at this point in the history
* Upgrade Scala 3 to 3.1.0

* Give federation a little help

* Simplify

* Remove weird trick

* Update CI

* Fix name

* Simplify

* Simplify

* fmt

* Simplify

* Cleanup

* Cleanup

* POC

* Cleanup

* Fix error encoder

* Added serializers and tests for GraphQLWSInput and GraphQLWSOutput

* Fix mistake

* Fix scala 3

* Implement RequestInterceptor support

* Remove need for import

* Cleanup

* Remove Finch adapter

* Upload support

* Remove no longer needed test

* Fix build error

* Use fake Schemas

* Add makeHttpUploadService to zio http adapter

* Remove makeHttpUploadService from zio-http as multipart is not supported in tapir for this interpreter

* Cleanup

* Move code around and format examples

* Reuse TapirAdapter in ZHttpAdapter websocket code

* Fix bug

* Add test suite for adapters

* Fix Scala 3 error

* Fix Scala 3 error

* Fix Scala 3 error

* Use real clock

* Use real clock for akka too

* Upgrade tapir

* Make test more reliable

* Migrate play adapter

* Debug flakiness

* More debugging

* Fix flakiness

* Remove debug logs

* Upgrade Tapir

* Fix README
  • Loading branch information
ghostdogpr authored Nov 18, 2021
1 parent c9cf645 commit 292cd76
Show file tree
Hide file tree
Showing 80 changed files with 2,078 additions and 2,900 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- checkout
- restore_cache:
key: sbtcache
- run: sbt ++2.12.14! core/test http4s/test akkaHttp/test finch/compile play/test zioHttp/compile examples/compile catsInterop/compile benchmarks/compile tools/test codegenSbt/test clientJVM/test monixInterop/compile tapirInterop/test federation/test
- run: sbt ++2.12.14! core/test http4s/test akkaHttp/test play/test zioHttp/test examples/compile catsInterop/compile benchmarks/compile tools/test codegenSbt/test clientJVM/test monixInterop/compile tapirInterop/test federation/test
- save_cache:
key: sbtcache
paths:
Expand All @@ -36,7 +36,7 @@ jobs:
- checkout
- restore_cache:
key: sbtcache
- run: sbt ++2.12.14! core/test http4s/test akkaHttp/test finch/compile play/test zioHttp/compile examples/compile catsInterop/compile benchmarks/compile tools/test codegenSbt/test clientJVM/test monixInterop/compile tapirInterop/test federation/test
- run: sbt ++2.12.14! core/test http4s/test akkaHttp/test play/test zioHttp/test examples/compile catsInterop/compile benchmarks/compile tools/test codegenSbt/test clientJVM/test monixInterop/compile tapirInterop/test federation/test
- save_cache:
key: sbtcache
paths:
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
- checkout
- restore_cache:
key: sbtcache
- run: sbt ++2.13.7! core/test http4s/test akkaHttp/test finch/compile play/test zioHttp/compile examples/compile catsInterop/compile monixInterop/compile tapirInterop/test clientJVM/test federation/test
- run: sbt ++2.13.7! core/test http4s/test akkaHttp/test play/test zioHttp/test examples/compile catsInterop/compile monixInterop/compile tapirInterop/test clientJVM/test federation/test
- save_cache:
key: sbtcache
paths:
Expand All @@ -78,7 +78,7 @@ jobs:
- checkout
- restore_cache:
key: sbtcache
- run: sbt ++3.1.0! core/test catsInterop/compile monixInterop/compile clientJVM/test clientJS/compile zioHttp/compile tapirInterop/test http4s/test federation/test
- run: sbt ++3.1.0! core/test catsInterop/compile monixInterop/compile clientJVM/test clientJS/compile zioHttp/test tapirInterop/test http4s/test federation/test
- save_cache:
key: sbtcache
paths:
Expand Down
Loading

0 comments on commit 292cd76

Please sign in to comment.