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

Use Tapir to implement adapters #1125

Merged
merged 58 commits into from
Nov 18, 2021
Merged

Use Tapir to implement adapters #1125

merged 58 commits into from
Nov 18, 2021

Conversation

ghostdogpr
Copy link
Owner

@ghostdogpr ghostdogpr commented Nov 4, 2021

Closes #1117
Closes #841

@ghostdogpr ghostdogpr changed the base branch from master to scala3 November 5, 2021 02:51
build.sbt Show resolved Hide resolved
@ghostdogpr ghostdogpr changed the title [POC] Use Tapir to implement adapters Use Tapir to implement adapters Nov 9, 2021
# Conflicts:
#	examples/src/main/scala/example/federation/FederatedApi.scala
#	vuepress/docs/docs/README.md
@ghostdogpr
Copy link
Owner Author

ghostdogpr commented Nov 11, 2021

Pushed the play adapter fully migrated.

Remaining issues:

@ghostdogpr
Copy link
Owner Author

I think I fixed the flakiness 🤞

@ghostdogpr ghostdogpr marked this pull request as ready for review November 11, 2021 13:05
Copy link
Contributor

@easel easel left a comment

Choose a reason for hiding this comment

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

LGTM! Will try out the play integrations shortly.

Base automatically changed from scala3 to master November 18, 2021 06:37
@ghostdogpr ghostdogpr merged commit 292cd76 into master Nov 18, 2021
@ghostdogpr ghostdogpr deleted the tapir-adapters branch November 18, 2021 06:38
Fluxx pushed a commit to Fluxx/caliban that referenced this pull request Jan 24, 2022
* 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
Fluxx pushed a commit to Fluxx/caliban that referenced this pull request Jan 27, 2022
* 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
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.

Harmonize the http server adapters Spray-json backend for AkkaHttpAdapter
3 participants