Tim Griesser
4d8e37177b
feat: better esm support, remove top-level node imports ( #1112 )
...
* test for esm/esbuild use of nexus
* refactor: add nodeImports, remove top-level references
* Don't minify the esbuild test script
* A bit more explicit of a check on the process being node
2022-07-02 16:08:16 -04:00
Tim Griesser
df9cb700a9
chore: update the dripip workflow, bump lint-staged
2022-05-15 14:50:03 -04:00
Tim Griesser
0d06f26b12
feat: add GraphQL 16 support ( #977 )
2022-02-17 12:47:40 -05:00
Tim Griesser
7e744aa0d3
refactor: Internal type cleanup ( #980 )
...
* refactor: Internal type cleanup
* chore: Remove prettier-plugin-jsdoc as its output is non-determinstic
2021-09-03 14:04:28 +00:00
Jason Kuhrt
df7d1370f9
feat: field config with name ( #938 )
2021-06-23 16:27:02 -04:00
Tim Griesser
96368ab5c1
feat: allow arbitrary extensions on nexus types ( #684 )
...
Co-authored-by: Jason Kuhrt <jasonkuhrt@me.com>
2020-12-07 09:10:15 -05:00
Tim Griesser
0cff2205c3
feat: Don't force async if connection resolvers are sync ( #707 )
2020-12-06 19:23:57 -05:00
Jason Kuhrt
2c8102b37e
docs: cover objectType with jsdocs ( #703 )
2020-12-04 13:53:57 -05:00
Jason Kuhrt
506b61b2a8
deps: update to latest ( #649 )
...
* deps: update to latest
* update docs
2020-11-23 09:27:11 -05:00
Jason Kuhrt
083c1ad981
test: capture union too large error
2020-10-22 16:08:00 -04:00
Tim Griesser
a8df05ced2
chore: Use codecov/codecov-action GH action ( #534 )
2020-10-04 09:21:16 -04:00
Tim Griesser
85bf467cde
chore: Restoring codecov ( #532 )
2020-10-03 17:31:01 -04:00
Tim Griesser
2bceeb915f
chore: Bumping deps & adding scripts for running examples ( #530 )
2020-10-03 15:50:56 -04:00
Jason Kuhrt
ddb1211d45
chore: upgrade dripip
2020-09-22 09:24:22 -04:00
Jason Kuhrt
0ee644b234
feat(deps)!: upgrade to graphql v15 ( #486 )
...
closes #410
BREAKING CHANGE:
The graphql peer dep requirement has been bumped to v15.
No graphql v15 exclusive features have been shipped yet. But this update
sets us up to begin that work.
Support for graphql v14 and lower has been dropped. It may technically work
still (the test suite did not show any major reasons why it won't, for
now/currently) but there is no guarantee about that remaining so in the
future. Internally we are only testing against v15. Certain new grpahqljs
v15 features like interfaces being able to implement other interfaces will
be released in the future.
If you absolutely cannot upgrade from graphql v14 right now then stay with
@nexus/schema v15. But if you also really need a new @nexus/schema feature
on v16+ (future) then you can try your luck with it an older version of
graphqljs.
2020-08-07 16:12:15 -04:00
Jason Kuhrt
61eccca200
fix: MaybePromiseDeep case of null with .then ( #475 )
...
closes #470
closes #474 (thanks @Sytten)
2020-08-03 16:56:44 -04:00
Jason Kuhrt
78af75686d
chore: format with prisma-labs prettier config ( #461 )
2020-07-01 23:42:06 -04:00
Jason Kuhrt
ee7c37118c
feat: use prettier api to load config ( #460 )
2020-07-01 23:23:17 -04:00
Jason Kuhrt
9c8e7762fa
feat: support typescript 3.9 ( #459 )
...
One internal type error was raised with 3.9 that wasn't before.
This might have led to end-users having to enable skipLibCheck?
For the uncertainty, treating this as a feature as opposed to a chore.
2020-07-01 23:06:45 -04:00
Jason Kuhrt
bf0df64ebd
tests: add windows to os matrix ( #405 )
2020-06-10 10:02:04 -04:00
Jason Kuhrt
8c7b047a7b
chore: setup dripip for release scripts
2020-06-03 16:09:38 -04:00
Tim Griesser
98c4ab4cdf
fix: remove graphql-query-complexity import, closes #376 ( #377 )
...
* fix: remove graphql-query-complexity import, closes #376
* Remove unneeded graphql-query-complexity from devDependencies
2020-02-11 11:54:25 -05:00
Bjorn Lu
14fcbcdc22
feat: Add queryComplexityPlugin for query cost analysis ( #369 )
...
* Add graphql-query-complexity package
* Add query complexity plugin
* Add tests
* Add example
* Add docs
* Remove redundant async
2020-02-10 19:00:45 -05:00
Tim Griesser
4351a1d051
feat: Add connectionPlugin for relay style pagination ( #324 )
...
Adds `connectionsPlugin` for cursor style connections. These adhere to the Relay specification and offer plenty of options for customization:
https://facebook.github.io/relay/graphql/connections.htm
2020-01-22 20:17:17 -05:00
Tim Griesser
8c9c29aa9c
feat: Add customPrintSchemaFn to makeSchema config ( #326 )
...
* feat: Add customPrintSchemaFn to makeSchema config
* Add the code to make the new option work correctly
2019-11-20 08:09:47 -05:00
Tim Griesser
aa9a46fe48
chore(deps): Bump prettier to latest
2019-11-11 14:57:21 -05:00
Tim Griesser
50bf2981e7
feat(epic): 0.12.0 Plugin System and Internal Refactor ( #242 )
...
See #242 for a full summary
2019-11-07 16:39:33 -05:00
Tim Griesser
4a6fdcf428
chore: add codecov ( #258 )
2019-10-10 10:48:23 -04:00
Jason Kuhrt
abcb5c845f
feat(deps): add support for TypeScript 3.6 ( #255 )
...
closes #241
2019-10-09 08:13:53 -04:00
Tim Griesser
79788ba874
Remove file:. from devDependencies ( #227 )
2019-09-23 15:07:30 -04:00
Tim Griesser
9f4ab9d830
Improving code coverage ( #225 )
...
* Improving overall coverage
* Improve jest config
* Remove unused internal builder methods
* Prefer non-inline snapshots
2019-09-22 21:28:27 -04:00
Brice BERNARD
0a77f622e9
Test examples with CI ( #220 )
...
* Update CI config to test examples
* Fix star wars example
* Update yarn.lock of nexus-prisma example
* Fix kitchen-sink example
* Update nexus to beta9 in star wars example
* Upgrade nexus in ts-ast-reader example
* Fix ghost example
* Fix githunt-api example
* Make githunt-api test pass
* Fix nexus-prisma example
* Fix typing in ts-ast-reader
* Use yarn link when nexus deps is already 0.12.0-beta.9
* Remove yarn link from example_ghost
* Make sure generated files are up to date
2019-09-21 16:12:03 -04:00
Jason Kuhrt
7aaea5ef4f
fix(dynamic): typegen for dynamicOutputProperty ( #212 )
2019-09-01 09:32:57 -04:00
Jason Kuhrt
38fe229a19
fix: type errors w/ simple typegens ( #191 )
2019-08-15 17:48:42 -04:00
Jason Kuhrt
9389ad44e8
chore: add jest-watch-typeahead plugin
2019-08-09 21:17:51 -04:00
Tim Griesser
1e932eb4b5
Initial pass at dynamic field inclusion/definition ( #143 )
...
* Initial pass at dynamic field inclusion/definition
* Split input/output custom fields, fixes #93 and #129
* Bump some lib versions
* Change around some dynamic field implementation details
* Make args override collection args
* Rename dynamicField -> dynamicMethod, export types from root
* Add decorateType, ability to specify rootType, fixes #17
2019-06-02 20:29:53 -04:00
Tim Griesser
342dccf265
Bumping TypeScript version for development
2019-05-18 18:01:56 -04:00
Tim Griesser
b1be4e2124
Fix #89 , SDL converter for list w/ null items ( #90 )
2019-03-18 11:12:26 -04:00
Tim Griesser
87932f785d
Add new "ghost" example project (WIP)
2019-02-03 20:44:48 -05:00
Tim Griesser
7df52ef597
Fix nonNullDefaults, internal cleanup
2019-02-02 17:44:06 -05:00
Tim Griesser
b8d23c30f3
Various API cleanup, trying to simplify overall concepts
2019-01-21 14:29:30 -05:00
Tim Griesser
1119241b3c
Bump prettier
2019-01-21 09:29:58 -05:00
Tim Griesser
008cc7ba6b
Fix typegen for inputs, export the types & fix nullability
2018-12-13 09:45:58 -05:00
Tim Griesser
6246ab39b4
Rebuild examples w/ graphql-nexus@0.1.0
2018-12-06 11:48:39 -05:00
Tim Griesser
141ff2a387
Fix tests, update examples, add helpers for example scripts
2018-11-19 14:31:35 -05:00
Tim Griesser
58759f5d92
Added simple playground, working on new type generation
2018-11-15 10:41:10 -05:00
Tim Griesser
1667eb10bf
tslint, check name, nullability, requiredValue -> required
2018-11-12 22:19:04 -05:00
Tim Griesser
2b8b5c0902
Working through a directives api
2018-11-12 14:54:29 -05:00
Tim Griesser
446047a918
WIP
2018-11-08 09:04:48 -08:00
Tim Griesser
3d5387bcf1
WIP
2018-11-05 19:55:28 -05:00