Jason Kuhrt
9b1f212ca4
fix: ci/cd workflow for trunk branch
2020-12-14 12:26:32 -05:00
Jason Kuhrt
d9f743c0bc
docs: fix nullability jsdoc ( #731 )
2020-12-14 12:25:04 -05:00
Flavian Desverne
78b8b08dc3
feat: remove backward compatible code and warnings ( #730 )
...
BREAKING CHANGES:
- Legacy `resolveType` is no longer part of the API
- Legacy scalar shorthands are no longer supported
- declarativeWrappingPlugin is no longer enabled by default
- ScalarInputFieldConfig type is removed
2020-12-14 18:17:12 +01:00
Flavian Desverne
80ad53135c
improve!: rename package to nexus ( #699 )
...
Co-authored-by: Jason Kuhrt <jasonkuhrt@me.com>
COMPLETES INITIAL DEVELOPMENT
BREAKING CHANGE:
You will now need to install Nexus Schema from the npm package `nexus` instead of `@nexus/schema`.
2020-12-14 09:41:29 -05:00
Jason Kuhrt
5377df54c8
docs: cover abstract type funcs with jsdoc
2020-12-11 15:34:49 -05:00
Jason Kuhrt
3531a31f80
docs: cover root types with jsdoc
2020-12-11 14:57:09 -05:00
Rutger Hendrickx
c6a83994ec
chore(docs): add feedback loop and code re-use to Why Nexus ( #725 )
...
Co-authored-by: Rutger Hendrickx <rutger.hendrickx@inthepocket.mobi>
2020-12-10 15:24:44 -05:00
Jason Kuhrt
57ca56f297
docs: cover arguments related things with jsdoc ( #726 )
2020-12-10 15:23:20 -05:00
Flavian Desverne
d66e8f10d7
feat: rename typegenAutoConfig and rootTyping ( #723 )
...
BREAKING CHANGES:
- Renames `typegenAutoConfig` to `sourceTypes`
- Renames `typegenAutoConfig.sources` to `sourceTypes.modules`
- Renames `typegenAutoConfig.sources[].source` to `sourcesTypes.modules[].module`
- Renames `rootTyping` to `sourceType`
2020-12-10 19:23:23 +01:00
Flavian DESVERNE
642be8b69f
feat: make contextType independent of source types
...
BREAKING CHANGES:
- `contextType` is no longer nested in `typegenAutoConfig`
- `contextType` can no longer references `sources` registered in `typegenAutoConfig`
- `contextType` API was refactored to use `module` instead of `path` and `export` instead of `name`
- `rootTyping` API was refactored to use `module` instead of `path` and `export` instead of `name`
2020-12-10 19:23:23 +01:00
Jason Kuhrt
0a43cbc14b
improve!: forbid null for descriptions
...
BREAKING CHANGE:
It is no longer permitted to pass null to description of enum, objects,
args, input objects, interfaces, unions. Now you must pass either a string or nothing.
2020-12-10 10:16:52 -05:00
Ryan Chenkie
fa3fd963be
chore(docs): update "Why Nexus" ( #712 )
2020-12-09 16:03:05 -05:00
Jason Kuhrt
7dbb4ac93f
docs: cover isTypeOf and extension with jsdoc ( #720 )
2020-12-09 16:00:33 -05:00
Flavian Desverne
81f2e37e74
docs: move source type section into its own guide ( #711 )
2020-12-09 17:37:11 +01:00
Daniel Rearden
ea989d5f7d
SDLConverter fixes ( #717 )
2020-12-09 10:38:24 -05:00
Jan Piotrowski
1da85cf815
fix(toc): marker outside of li, fix positioning ( #719 )
2020-12-09 16:01:10 +01:00
Shreyas Sreenivas
02bff7d8c4
chore(docs): use plain JS objects for storing the context ( #718 )
2020-12-09 09:21:57 -05:00
Jason Kuhrt
405ee53a71
docs: cover resolve method with jsdoc
2020-12-08 17:16:56 -05:00
Daniel Rearden
8b3e88c1f6
feat: add support for interfaces implementing interfaces to sdlConverter ( #713 )
2020-12-08 15:45:21 -05:00
Jason Kuhrt
08ce751f19
docs: add jsdoc for type prop on field config
2020-12-08 15:21:21 -05:00
Jason Kuhrt
6f51434759
docs: cover the output type builder api with jsdoc ( #715 )
2020-12-08 13:12:49 -05:00
Shreyas Sreenivas
c2a3ef91a2
chore(docs): update tutorial testing chapter ( #709 )
2020-12-07 22:19:13 -05:00
Tim Griesser
dc1e21bdad
feat: pass connection args to field extensions ( #710 )
2020-12-07 17:02:36 -05:00
Jason Kuhrt
7091438fcb
fix(ci): restore ci config to normal
2020-12-07 14:15:18 -05:00
Jason Kuhrt
591f600df1
fix(ci): debug preview releases 4
2020-12-07 13:58:32 -05:00
Jason Kuhrt
470a771045
chore(ci): debug preview releases 3
2020-12-07 13:55:16 -05:00
Jason Kuhrt
4f818aadf0
chore(ci): debug preview releases 2
2020-12-07 13:48:23 -05:00
Jason Kuhrt
5489c80307
chore(ci): debug preview releases
2020-12-07 13:48:08 -05: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
Junggeun Lee
031ed34f62
docs(chore) : fix typo ( #704 )
...
* Docs(chore) : fix type
* Docs(chore) : fix type
* Docs(chore) : fix type
Co-authored-by: 이정근 <junggelee@ebay.com>
Co-authored-by: Jason Kuhrt <jason.kuhrt@dialogue.co>
2020-12-06 21:07:20 -05:00
Tim Griesser
0cff2205c3
feat: Don't force async if connection resolvers are sync ( #707 )
2020-12-06 19:23:57 -05:00
Tim Griesser
9d0f4f4226
feat: add .asArg for enum, fix default typings ( #708 )
...
- Renames `EnumTypeConfig` -> `NexusEnumTypeConfig` for consistency
- Adds `.asArg` on `enumType`, since these are often defined inline for one-off field args
- Fixes types so `default` type is properly inferred, eases types elsewhere so valid types which haven't been added to the manifest do not show as type errors
2020-12-06 18:52:04 -05:00
Tim Griesser
439864aabb
chore: Prettier on the codebase for JSDoc formatting ( #706 )
2020-12-06 15:47:58 -05:00
Jason Kuhrt
e05a50efe0
docs: cover extendType with jsdocs
2020-12-04 14:48:17 -05:00
Jason Kuhrt
1e4fd3cf61
chore(docs): fix nullability yaml frontmatter
2020-12-04 14:03:02 -05:00
Jason Kuhrt
b5e33353ca
chore(docs): own guide for nullability
2020-12-04 14:00:04 -05:00
Jason Kuhrt
2c8102b37e
docs: cover objectType with jsdocs ( #703 )
2020-12-04 13:53:57 -05:00
Flavian DESVERNE
c16f6c6999
chore(docs): fix typo
2020-12-04 15:57:16 +01:00
Flavian DESVERNE
96b31d32db
chore(docs): fix typo
2020-12-04 15:34:41 +01:00
Jason Kuhrt
a9ca189e3e
chore(docs): fix many things in the tutorial
...
closes #678
2020-12-03 16:56:06 -05:00
Jason Kuhrt
947b04a1ff
chore(docs): fix common to install test deps in tutorial
2020-12-03 13:58:57 -05:00
Jason Kuhrt
df3819eac8
chore(docs): fix errors in next.js guide
2020-12-03 11:01:21 -05:00
Ryan Chenkie
e3253ab92d
chore(docs): add nexus next.js adoption guide ( #691 )
...
Co-authored-by: Jason Kuhrt <jasonkuhrt@me.com>
2020-12-03 10:33:56 -05:00
Flavian Desverne
0191f69c30
docs: add sticky table of content
2020-12-02 18:30:00 +01:00
Jason Kuhrt
242046c756
fix: subscriptionField overload for builder api access ( #694 )
...
closes #595
2020-12-02 11:53:55 -05:00
Jason Kuhrt
27d95d8a6f
chore(docs): code sandbox for subscriptions
...
closes #594
2020-11-30 15:14:12 -05:00
Jason Kuhrt
abed6e001e
chore(docs): update playground link to codesandbox
...
closes #597
2020-11-27 15:30:11 -05:00
Tim Griesser
fae8aeb722
chore: bump jest testTimeout, seems to flake on unionTooComplexToRepresent
2020-11-27 14:40:49 -05:00
Tim Griesser
cf5b2695dc
feat: support graphql@^14.5 ( #677 )
2020-11-27 14:22:48 -05:00
Tim Griesser
6220d85513
fix: proper typings for edge extension
2020-11-27 13:09:10 -05:00