nexus/tests
Tim Griesser 333dfb8757
feat: Add mergeSchema, better graphql-js interop (#983)
- Adds a new feature mergeSchema to the makeSchema config, to consume an external schema and merge with the locally defined Nexus types
- Standardizes the consumption of external GraphQLNamedType's so they are converted into Nexus type definitions, simplifying code paths
- Order of resolution goes from local Nexus types -> graphql-js types -> external schema types
- Adds asNexusMethod to all types, allowing for any commonly used types to be used as methods, not just scalars
- Convert methods / properties from protected -> private in Builder to better detect unused code
2021-09-06 09:32:43 -04:00
..
__helpers feat: field config with name (#938) 2021-06-23 16:27:02 -04:00
__snapshots__ feat: Add mergeSchema, better graphql-js interop (#983) 2021-09-06 09:32:43 -04:00
definitions fix: Allow meta types to be wrapped with null/list (#935) 2021-06-19 13:36:07 -04:00
gh-issues feat: replace list & nullable API by type wrappers (#538) 2020-11-18 17:59:59 +01:00
integrations refactor: More internal cleanup (#981) 2021-09-03 17:00:35 +00:00
plugins refactor: add importsNotUsedAsValues: error to force import type (#872) 2021-03-27 16:26:13 -04:00
typegen feat: Add mergeSchema, better graphql-js interop (#983) 2021-09-06 09:32:43 -04:00
typegen-globals feat: Add mergeSchema, better graphql-js interop (#983) 2021-09-06 09:32:43 -04:00
v15 refactor: add importsNotUsedAsValues: error to force import type (#872) 2021-03-27 16:26:13 -04:00
_fixtures.ts chore: format with prisma-labs prettier config (#461) 2020-07-01 23:42:06 -04:00
_sdl.ts fix: input fields with default should not be typed as optional (#563) 2020-10-19 15:27:08 +02:00
_setup.ts refactor: add importsNotUsedAsValues: error to force import type (#872) 2021-03-27 16:26:13 -04:00
_types.ts chore: format with prisma-labs prettier config (#461) 2020-07-01 23:42:06 -04:00
abstractChecks.spec.ts feat: improve abstract types (#602) 2020-11-13 20:19:15 +01:00
args.spec.ts feat: improve abstract types (#602) 2020-11-13 20:19:15 +01:00
backingTypes.spec.ts fix: printer imports, follow up from #967 (#970) 2021-08-19 14:56:35 +00:00
builder.spec.ts feat: Add mergeSchema, better graphql-js interop (#983) 2021-09-06 09:32:43 -04:00
definitions.spec.ts feat: Add mergeSchema, better graphql-js interop (#983) 2021-09-06 09:32:43 -04:00
dynamicMethods.spec.ts feat: rename typegenAutoConfig and rootTyping (#723) 2020-12-10 19:23:23 +01:00
inputObjectType.spec.ts feat: support graphql@^14.5 (#677) 2020-11-27 14:22:48 -05:00
interfaceType.spec.ts feat: allow implementing interfaces in extendType (#774) 2021-01-26 09:33:38 -05:00
makeSchema.spec.ts refactor: move makeSchema into separate file from builder (#927) 2021-06-09 11:40:53 -04:00
modify.spec.ts feat: support graphql@^14.5 (#677) 2020-11-27 14:22:48 -05:00
mutationField.spec.ts chore: format with prisma-labs prettier config (#461) 2020-07-01 23:42:06 -04:00
nonNullDefaults.spec.ts feat: support graphql@^14.5 (#677) 2020-11-27 14:22:48 -05:00
null-list.spec.ts refactor: add importsNotUsedAsValues: error to force import type (#872) 2021-03-27 16:26:13 -04:00
objectType.spec.ts feat: .nonNull / .nullable chaining, additional cleanup (#655) 2020-11-23 10:41:03 -05:00
plugin.spec.ts feat: add plugin support for inputObjectType (#799) 2021-01-31 12:32:37 -05:00
plugins.spec.ts feat: support graphql@^14.5 (#677) 2020-11-27 14:22:48 -05:00
queryField.spec.ts chore: format with prisma-labs prettier config (#461) 2020-07-01 23:42:06 -04:00
resolveTypes.spec.ts feat: rename typegenAutoConfig and rootTyping (#723) 2020-12-10 19:23:23 +01:00
scalarType.spec.ts refactor: add importsNotUsedAsValues: error to force import type (#872) 2021-03-27 16:26:13 -04:00
sdlConverter.spec.ts chore: format with prisma-labs prettier config (#461) 2020-07-01 23:42:06 -04:00
subscriptionField.spec.ts feat: support graphql@^14.5 (#677) 2020-11-27 14:22:48 -05:00
subscriptionType.spec.ts feat: field config with name (#938) 2021-06-23 16:27:02 -04:00
typegenPrinter.spec.ts fix: printer imports, follow up from #967 (#970) 2021-08-19 14:56:35 +00:00
typegenPrinterGlobals.spec.ts feat: ConfiguredTypegen for splitting global types & configuring input type emission (#967) 2021-08-17 15:49:47 -04:00
unionType.spec.ts feat: rename typegenAutoConfig and rootTyping (#723) 2020-12-10 19:23:23 +01:00
unknownType.spec.ts chore: fix test 2020-11-13 20:25:20 +01:00
utils.spec.ts chore: format with prisma-labs prettier config (#461) 2020-07-01 23:42:06 -04:00
wrapping.spec.ts chore: resolveType warning, restore declarativeWrapping list behavior (#658) 2020-11-23 14:41:59 -05:00