-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea71591
commit 7685829
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## GraphQL Compose | ||
|
||
Built on top of [ZIO Compose]. GraphQL compose intends to solve the problem of API Composition. | ||
It comes in two parts — | ||
|
||
1. **DSL:** This is used to write the composition spec. Once the spec is written, it's validated and optimized by the compiler. | ||
2. **Runtime:** A high-performance runtime that executes takes in a graphQL request and resolves it using a composition spec. | ||
|
||
## Demo | ||
|
||
A demo usage for [jsonplaceholder] is available here — | ||
|
||
1. [DSL Usage] | ||
2. [Unit Tests] | ||
|
||
[jsonplaceholder]: https://jsonplaceholder.typicode.com/ | ||
[Unit Tests]: https://github.com/tailcallhq/zio-compose/blob/main/compose-graphql/src/test/scala/compose/graphql/JsonPlaceholderSpec.scala | ||
[DSL Usage]: https://github.com/tailcallhq/zio-compose/blob/main/compose-graphql/src/test/scala/compose/graphql/internal/JsonPlaceholder.scala | ||
|
||
[ZIO Compose]: https://github.com/tailcallhq/zio-compose |