Commit Graph

9 Commits

Author SHA1 Message Date
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
Daniel Rearden ea989d5f7d
SDLConverter fixes (#717) 2020-12-09 10:38:24 -05:00
Tim Griesser eb04d8f572
fix: SDL converter list/nonNull chaining (#660) 2020-11-23 16:52:17 -05:00
Tim Griesser 306dbaae10
feat: .nonNull / .nullable chaining, additional cleanup (#655)
- Fixes SDL conversion
- Defer wrapping until types are built
- Supports GraphQL types anywhere that a type can be used, wrapped, etc.
- Split out the wrapping, w/ `finalizeWrapping` helper which adds in the `NonNull` to the list as needed
- Make `nonNull(nonNull(T))` & `nullable(nullable(T))` no-op for simplicity
- Change: `nullable(nonNull(T))` will undo the `nonNull`
- Properly type-check's `subscriptionType` by passing `Event` generic properly
- Adds `declarativeWrappingPlugin` for previous `nullable` / `list` behavior

Co-authored-by: Flavian DESVERNE <flavian.desverne@epitech.eu>
2020-11-23 10:41:03 -05:00
Flavian Desverne 10208e3332
fix: input fields with default should not be typed as optional (#563) 2020-10-19 15:27:08 +02:00
Jason Kuhrt 8b1a760019 feat: switch over to component package 2020-03-30 14:47:35 -04:00
Jason Kuhrt 5f7c9708a4 Revert "feat: make sdl-converter use component package"
This reverts commit ec7f22a868.
2020-03-30 14:17:08 -04:00
Jason Kuhrt ec7f22a868 feat: make sdl-converter use component package 2020-03-30 14:11:52 -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