Commit Graph

666 Commits

Author SHA1 Message Date
Jason Kuhrt df7d1370f9
feat: field config with name (#938) 2021-06-23 16:27:02 -04:00
Anton Lukin ebcdb29a3e
chore(docs): Fix a typo in JSDoc example (#937) 2021-06-21 08:20:39 -04:00
Tim Griesser 81ec5c0f08
fix: Allow meta types to be wrapped with null/list (#935) 2021-06-19 13:36:07 -04:00
Tim Griesser 2b0708d675
refactor: TO_NEXUS -> NEXUS_TYPE / NEXUS_BUILD (#934) 2021-06-16 08:42:44 -04:00
Tim Griesser 2759c551c7
feat: TO_NEXUS symbol for adding types via metaprogramming (#932) 2021-06-14 17:37:30 -04:00
Nenad Filipovic 10ea65f6f1
chore(docs): add formatTypegen example (#930) 2021-06-11 17:47:21 -04:00
Tim Griesser 690abb7299
fix: correct edge node typing (#876) 2021-06-10 07:49:34 -04:00
Tim Griesser 2e1c32b794
refactor: move makeSchema into separate file from builder (#927) 2021-06-09 11:40:53 -04:00
Tom Sherman 3a92760058
feat: Accept `ReadonlyArray<T>` for enum members (#916) 2021-05-25 19:36:07 -04:00
Philipp Strathausen 031c77257a
chore(docs): Fix prisma link in examples README (#912) 2021-05-25 19:32:31 -04:00
Tom Sherman 31a6137f90
Fix graphql docs link for interfaces (#913) 2021-05-22 12:53:16 -04:00
Jan Piotrowski 571fa4d124
docs(README): Add link to GH Actions 2021-05-20 22:00:43 +02:00
Jan Piotrowski 145f664914
chore(tests): update snapshots that were forgotten in #887 (#910) 2021-05-20 15:01:42 -04:00
Thilllon 189a5becb7
chore(docs): fix proper variable name (#904)
Change the variable name appropriately in the example code
https://nexusjs.org/docs/api/query-field
2021-05-12 08:23:22 -04:00
ahmedosama7450 70eda57c61
chore(docs): nexus nullability defaults (#900) 2021-04-30 15:41:05 -04:00
AstroAsh 7ff557b6e7
fix: sync should gen artifact logic with what docs say(#884) 2021-04-15 19:37:01 -04:00
Harsh Singh 5844b7fa74
chore(docs): update API link to Prisma object modeling (#890) 2021-04-15 19:35:55 -04:00
Alex Ruheni cfff794306
updated test script and server start (#882) 2021-04-13 22:35:34 -04:00
Nikolay Lanets d2e586bd3f
refactor: make errors more readable (#887) 2021-04-12 10:02:00 -04:00
ahmed osama 7b84cd63db
chore(docs): broken link (#881) 2021-04-08 20:01:32 -04:00
ahmed osama 3c18d6c1e3
chore(docs): Nexus nullability defaults to that everything is null by default 2021-04-08 09:30:18 -04:00
Max Leon 3f05c1d0ea
Resolve bullet indentation issue (#879)
fixes #849
2021-04-07 09:34:10 -04:00
Yash 16ac615f9b
chore(docs) Fix Broken Link in Tutorial Chapter 2 (#877)
Fixes the issue #858
2021-04-02 15:13:12 -04:00
Alex Ruheni 9a3915e11c
chore(docs): updated prisma references (#874) 2021-04-01 08:49:00 -04:00
ZC ce1bd8c594
chore(docs): fix typo in abstract types documentation (#873) 2021-03-28 21:58:25 -04:00
Tim Griesser 74c93e2ce4
refactor: add importsNotUsedAsValues: error to force import type (#872) 2021-03-27 16:26:13 -04:00
Renato Benkendorf a59273de88
docs(content of API to makeSchema): update the example of using a custom typing to GraphQL context value (#871) 2021-03-25 07:51:25 -04:00
Alex Ruheni 5056129b40
chore(docs): removed databaseUrl in final code sample testing (#863) 2021-03-15 21:34:18 -04:00
Nil Portugués Calderó c89c72bda2
chore(docs): Change --transpileOnly to --transpile-only from star-wars example (#859)
* Change --transpileOnly to --transpile-only
2021-03-15 07:40:41 -04:00
Alex Ruheni 3050c3bb42
chore(docs): Updated getting started tutorial (#852)
- migrated from postgres to sqlite
-fixed tests 🤞🏽
2021-03-04 14:25:18 -05:00
Tim Griesser 7f16b8b750
fix: cast NexusNonNullDef to prevent union type complexity error (#846) 2021-03-04 14:24:29 -05:00
Anton Niklasson 291e86a669
chore(docs): fix broken link in 070-make-schema.mdx (#851) 2021-03-03 12:58:48 -05:00
Anton Niklasson 4625a13b52
chore(docs): update 010-object-type.mdx (#847) 2021-03-02 21:55:44 -05:00
Nikolas 8827f28ead
chore(docs): Update 06-chapter-5-persisting-data-via-prisma.mdx (#848) 2021-03-02 21:55:10 -05:00
ahmed osama d220d3195d
chore(docs): deprecated nexus/testing module #833 (#840) 2021-03-01 06:59:25 -05:00
Tim Griesser 27e35e51ee
fix: reduce iteration in connections (#843) 2021-02-24 13:25:56 -05:00
Alex Ruheni 3f78131abb
docs: vanilla nexus migration from nexus-plugin-prisma (#838)
* vanilla nexus migration

* added SDL converter section

* resolver object

* added blockquote referring to resolve section
2021-02-22 12:11:42 +01:00
Jason Kuhrt 06cd0a02e6 chore: yaml style 2021-02-19 23:51:28 -05:00
Jason Kuhrt 5d23123cc0 chore: tsconfig should exclude docs 2021-02-19 23:51:18 -05:00
hanbin8269 e3b414ddde
chore(docs): Fix Docs 061-list-nonNull.mdx (#837) 2021-02-18 15:04:08 -05:00
Rich Haines 43f1da24e7
chore(docs): Updated tutorial docs (chapter 5 persisting-data-via-prisma) to fix cli install instructions (#834) 2021-02-18 10:05:21 -05:00
Francis Gulotta 46ad529954
docs: add more information to field authorize plugin (#821)
Added some getting started information and a description of the field this plugin adds.
2021-02-08 14:52:04 -05:00
Gal Cegla 0f5f14526c
Update 05-chapter-4-testing-your-api.mdx (#803) 2021-02-03 19:05:16 -05:00
David c79d3cb9a9
asNexusMethod import is missing (#805) 2021-02-03 19:03:03 -05:00
Johnny Oshika d1634b2a58
Fix 'posts' field typo. Should be 'drafts'. (#806) 2021-02-03 19:01:54 -05:00
Johnny Oshika 29f03a03e7
Fix contextType export typo (from ContextModule to Context) (#807) 2021-02-03 19:00:46 -05:00
Yash 0b28c77678
Docs: Correct an object's value in the tutorial (#808) 2021-02-03 18:58:53 -05:00
Nikolas 0ce49b91b7
docs: adjust migration guide from nexus-plugin-prisma (#818)
* start writing migration guide for nexus-plugin-prisma

* continue writing migration guide for nexus-plugin-prisma

* continue writing migration guide for nexus-plugin-prisma

* add notes about state of nexus-plugin-prisma to several pages

* minor changes
2021-02-03 17:51:04 +01:00
Nikolas 7f0dd11a8b
docs: add migration guide for nexus-plugin-prisma (#817)
* start writing migration guide for nexus-plugin-prisma

* continue writing migration guide for nexus-plugin-prisma
2021-02-03 17:06:42 +01:00
Tim Griesser aa283addcf
fix: invoke correct fn on global extended connection/edge (#814) 2021-02-01 11:15:32 -05:00