This repository has been archived by the owner on Jul 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Star rewriting on standard graphql-js AST * Add result 3 * Use Node 16 * Add pnpm-lock.yaml * Fix intelliscence nullability * Fix Result type nullability * Rename type tests * Refactor Result type * Fix example add critical comment * Helpful comment * Implement fragment support idea * Simplify inline fragment implementation * Fix simple-scalar type test * Actually implement SpreadFragments correctly * Fix union test * Add a little complexity to union test * Get deep Variables working * Add variables in fragments test * Patch type tests * Implement Selection runtime class * Add simple parameterized schema type test * Remove unneeded comments * Re-implement most of codegen * Implement codegen extends * Pass through variable type parameters * Update .gitignore * Support ReadonlyArray in schemas * Remove unneeded files * Generate inline fragment selectior fns * Use TypedDocumentNode from @apollo/client * Comment out codegen test * Update readme and docs * Split codegen into seperate package * Uncomment Variables tests * Remove codegen prepublish and prepush cmds * Set tql-gen to 1.0.0-rc.1 * Add description to tql-gen * Remove prepublish and prepush cmds * Add sideEffects false to package.json * Update README and limitations doc
- Loading branch information
1 parent
0409e72
commit fe1a113
Showing
79 changed files
with
6,703 additions
and
154,265 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
This file was deleted.
Oops, something went wrong.
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
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
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 |
---|---|---|
|
@@ -105,4 +105,7 @@ dist | |
|
||
notes.txt | ||
|
||
failing-examples | ||
failing-examples | ||
|
||
sdk.ts | ||
*_test.ts |
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 |
---|---|---|
@@ -1 +1 @@ | ||
v14.15.0 | ||
v16 |
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 |
---|---|---|
@@ -1,15 +1,19 @@ | ||
# Current Limitations | ||
|
||
## required for 1.0 | ||
## Required for 1.0 | ||
- [x] Interface type support | ||
- [x] Nested input object support | ||
- [x] Union type support | ||
- [x] `mutation` or `subscription` operation support | ||
- [x] Nullable field support | ||
- [ ] Variable definition support | ||
|
||
## perhaps in 1.x | ||
- [x] Variable definition support | ||
- [x] Rewrite `Result` and `Variable` types | ||
- [x] Type-level testing | ||
- [x] Default unknown scalars to `string`'s | ||
- [ ] Restricing `Selection`'s in selector function returns | ||
- [ ] Finish rewriting unit tests | ||
- [ ] Field alias support | ||
- [ ] Directive support | ||
- [ ] Custom scalar support yet (e.g no `Date` objects), limited to JS built-ins (custom scalars default to `string`'s) | ||
- [ ] Named fragments | ||
- [ ] Custom scalar support yet (e.g no `Date` objects), limited to JS built-ins. | ||
- [ ] Documentation |
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
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,7 @@ | ||
# Integration Tests | ||
|
||
We use the canonical [graphql/swapi-graphql](https://github.com/graphql/swapi-graphql) API as our top-level integration tests. You can configure the test suite to run against your own schema by following the instructions below. If you find a bug please [open an issue](https://github.com/timkendall/tql/issues/new)!. | ||
|
||
## Running | ||
|
||
`yarn test:int <schema>` (defaults to the Starwars schema defined here) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.