Sam Burba
9e5c27c509
docs: Fix readme converter link ( #1108 )
2023-03-16 11:04:52 -04:00
Jan Piotrowski
601c2f03f4
fix(prisma): Replace outdated note ( #1153 )Co-authored-by: Andrew Carlson <5479270+andrewicarlson@users.noreply.github.com>
...
* fix(prisma): Remove outdated note
* Update 010-overview.mdx
---------
Co-authored-by: Andrew Carlson <5479270+andrewicarlson@users.noreply.github.com>
2023-03-16 11:04:26 -04:00
Andrew Carlson
4e085dc7b2
Feature/update docs ( #1136 )
...
* Replaced Prisma reference
* Updated copyright info
2023-02-02 10:48:58 -06:00
Alex Kunin
1e6b9212d3
chore: remove irrelevant paragraph in docs ( #1128 )
...
Resolver shorthands were removed in v0.18.0, docs need to be updated.
2022-10-31 09:25:32 -04:00
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
eec4b91091
feat: add sourceType option to fieldDefinition ( #1106 )
...
* feat: add sourceType option to fieldDefinition
* add additional configurability for field-level sourceType
2022-06-28 13:21:58 -04:00
Tim Griesser
8e65081539
fix: remove hasSDLDirectives internal state ( #1091 )
...
* fix: remove hasSDLDirectives from schema construction
2022-05-16 00:12:23 -04:00
Tim Griesser
7ee48c4f2c
fix: add missing as const on the RequestDirectiveLocation ( #1090 )
2022-05-15 22:48:26 -04:00
Tim Griesser
e9dc7e0c4a
chore: Fix codecov
2022-05-15 16:59:29 -04:00
Tim Griesser
9875e90dae
feat: Add Schema Directives to SDL ( #952 )
...
Adds directive & addDirective utilities for defining directives emitted in the SDL
2022-05-15 16:59:05 -04:00
Tim Griesser
9a1050792b
chore: attempt to fix the dripip workflow, again
2022-05-15 14:56:32 -04:00
Tim Griesser
df9cb700a9
chore: update the dripip workflow, bump lint-staged
2022-05-15 14:50:03 -04:00
Tim Griesser
123dc61fac
fix: incorrect logic in backward pagination ( #1084 )
2022-05-03 15:35:21 -04:00
Tim Griesser
251af9461b
fix: update snapshots for change in #1083
2022-05-03 11:38:57 -04:00
Daniel Schwartz
b906288c58
chore: change facebook.github.io to relay.dev links ( #1083 )
2022-05-03 11:24:45 -04:00
Tim Griesser
11d028277e
feat: allow specifying custom directives in makeSchema ( #1065 )
2022-03-25 10:38:08 -04:00
Jonathan Zinger
509c246e88
Update comment for `shouldGenerateArtifacts` ( #1057 )
...
Update comment to reflect the current behavior as per [`src/typegenUtils.ts`](bc12ca0f8e/src/typegenUtils.ts (L11)
)
2022-03-25 10:28:24 -04:00
Vincent François
aaa45204b6
feat: Run both formatTypegen and prettier formatter if given ( #1042 )
2022-03-25 08:20:32 -04:00
Tim Griesser
7349e3633c
feat: allow specifying custom directives in makeSchema ( #1064 )
...
* feat: allow specifying custom directives in makeSchema
* fix for earlier graphql snapshots
2022-03-24 18:48:41 -04:00
Vincent François
892af670a4
feat: Use ReadonlyArray in typings ( #1041 )
...
* Use ReadonlArray when generating output types
* Add useReadonlyArrayForInputs config and use it accordingly
* Update tests snapshots
* Move useReadonlyArrayForInputs in ConfiguredTypegen option
* Add tests for useReadonlyArrayForInputs
Co-authored-by: Jason Kuhrt <jasonkuhrt@me.com>
Co-authored-by: Tim Griesser <tgriesser10@gmail.com>
2022-03-24 17:02:17 -04:00
Jason Kuhrt
bc12ca0f8e
chore: use dripip reusable workflow
2022-03-10 14:02:20 -05:00
Tim Griesser
0f37c3e9d4
docs: Update npm badge
2022-03-05 15:29:59 -05:00
Tim Griesser
6c1530a3d5
v1.3.0
2022-03-05 15:26:42 -05:00
Tim Griesser
92f20dc9e9
chore: add test confirming v16 schema compat ( #1054 )
2022-03-05 15:25:11 -05:00
Tim Griesser
bbc969a5b0
chore: update github workflows ( #1053 )
2022-03-05 14:12:48 -05:00
Tim Griesser
0d06f26b12
feat: add GraphQL 16 support ( #977 )
2022-02-17 12:47:40 -05:00
Aniruddh Mukherjee
e901bebd51
chore(docs): fix typos ( #1005 )
...
Fixed the typos where `draftToPublish` (used in the previous example) were mistakenly written as `postToPublish` which might lead to confusion for some readers.
2021-12-15 09:10:02 -05:00
Riccardo Scalco
87a82a28b1
chore(docs): fix typo 06-chapter-5-persisting-data-via-prisma.mdx ( #1007 )
2021-12-15 09:09:34 -05:00
Riccardo Scalco
3de7f399c6
chore(docs): fix typo 04-why-nexus.mdx ( #1008 )
2021-12-15 09:09:02 -05:00
Tana M Berry
45b9d5a926
chore(docs): fix typo 030-neuxs-framework-prisma-users.mdx ( #1016 )
2021-12-15 09:08:30 -05:00
ChengQing
b92545fe4f
chore(docs): fix typo 05-chapter-4-testing-your-api.mdx ( #1023 )
...
Fix typo.
2021-12-15 09:08:03 -05:00
ChengQing
4d035019a4
chore(docs): fix typo in 07-chapter-6-testing-with-prisma.mdx ( #1024 )
2021-12-15 09:07:24 -05:00
Tim Griesser
9ec3442539
fix: Minimum GraphQL v16 support ( #1017 )
2021-11-18 15:53:18 -05:00
Johan Kim
c0e55b53b4
chore(docs): add Example Code ( #948 )
2021-10-26 21:50:03 -04:00
Johan Kim
a7c26ba587
chore(docs): Update Ordering section ( #950 )
2021-10-26 21:49:26 -04:00
lockedNLevered
703d5595da
chore(docs): Nexus Getting started: missing type in queryType ( #995 )
...
queryType is missing type field. TypeScript would throw error and not compile.
2021-10-26 21:48:29 -04:00
Ella Nan
02015ede84
chore(docs): readme update -- fix code sample to include ".ts" in module path ( #998 )
2021-10-26 21:47:51 -04:00
Dani Guardiola
2934d6d38c
chore(docs): typo fix in docs ( #999 )
2021-10-26 21:47:19 -04:00
safaure
5e3b837ec0
chore(docs): change package get-port ver in tutorial ( #1000 )
...
See https://github.com/sindresorhus/get-port/releases
get-port does not support commonJS anymore.
2021-10-26 21:46:53 -04:00
Timo Heman
b24d132d38
docs: change all "npm add" to "npm install" ( #991 )
2021-09-17 11:19:52 -04:00
Andrew McCallum
e5658cadba
docs: Update 061-list-nonNull.mdx ( #986 )
...
Fixed syntax in docs where comma was missing
2021-09-07 09:07:05 -04:00
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
Tim Griesser
02a73b5d74
refactor: More internal cleanup ( #981 )
...
- Add Maybe on resolveType to match GraphQL signature
- Don't create placeholder Query type when renamed
- Internal rename rootTypings -> sourceTypings
2021-09-03 17:00:35 +00: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
Tim Griesser
e65b5a7952
refactor: remove duplicate core schema type checks ( #978 )
2021-09-02 23:44:37 +00:00
Tim Griesser
d4c6260774
feat: ability to rename root types ( #976 )
...
Closes #867
2021-09-02 09:38:16 -04:00
Gary Lamp
6de1cb6917
docs: Remove `.ts` extension from import statement ( #974 )
2021-09-02 09:20:54 -04:00
Tim Griesser
555ae79ded
fix: revert declareInputs default to false ( #975 )
2021-09-02 13:18:47 +00:00
Tim Griesser
a003ff074f
fix: printer imports, follow up from #967 ( #970 )
2021-08-19 14:56:35 +00:00
Johannes Choo
855a482c54
fix: plugin inputFieldDefTypes ( #919 )
2021-08-18 14:50:09 -04:00