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
Tim Griesser
1f5b025837
fix: pass down source into extended connection fields ( #812 )
2021-01-31 23:04:03 -05:00
Johnny Oshika
218bf11f18
Fix typo in About section ( #809 )
2021-01-31 13:50:42 -05:00
Tim Griesser
fbcfba3165
feat: connectionPlugin internal modifications ( #811 )
...
- Adds `(root, ctx)` to `validateArgs`
- Iterate all nodes if neither `first` or `last` are provided, e.g. with custom `validateArgs`
- Export additional internal fns on `connectionPlugin`
2021-01-31 13:38:42 -05:00
Filip Stefansson
bb936cb95c
feat: add plugin support for inputObjectType ( #799 )
2021-01-31 12:32:37 -05:00
Fran Zekan
cb1e17ef56
docs: Fix variable naming for express import ( #802 )
2021-01-26 20:07:35 -05:00
Masayuki Izumi
666746c1df
feat: allow implementing interfaces in extendType ( #774 )
...
Co-authored-by: Jason Kuhrt <jason.kuhrt@dialogue.co>
Co-authored-by: Tim Griesser <tgriesser@gmail.com>
2021-01-26 09:33:38 -05:00
Tim Griesser
af73f669f5
fix: Allow specifying overrides for builtin scalars ( #795 )
2021-01-22 10:21:07 -05:00
Adam Lane
bfdd42095b
chore(docs): adoption guide link to with-prisma example fix ( #794 )
...
Was set to placeholder
2021-01-20 09:04:49 -05:00
Ryan Chenkie
de049990df
chore(docs): use db push ( #793 )
2021-01-20 09:04:09 -05:00
Mahmoud Abdelwahab
025d82e767
chore(docs): Update 010-object-type.mdx ( #791 )
...
`StatusEnum` variable is not being used
2021-01-19 09:21:01 -05:00
Ryan Chenkie
b327841a63
chore(docs): update migrate commands ( #792 )
2021-01-19 09:17:22 -05:00
Jason Kuhrt
0788e86772
chore(docs): update context type config to new api
...
Relates to https://github.com/graphql-nexus/nexus/issues/754#issuecomment-760981242
2021-01-15 21:42:07 -05:00
Émile Fugulin
1c7b9b1736
chore(docs): Change backingTypesMap to mapping ( #782 )
2021-01-13 22:43:09 -05:00
Denis Borovikov
55bca2d8c7
chore(docs): fix code example ( #781 )
2021-01-12 21:13:20 -05:00
Jason Kuhrt
cb22957a84
chore(docs): remove tutorial intro wip warning
2021-01-12 10:43:14 -05:00
ahmed osama
217779b7ea
chore(docs): remove outdated prisma plugin config docs ( #777 )
...
Remove the [plugin settings section](https://nexusjs.org/docs/plugins/prisma/overview#plugin-settings ) entirely. It contains more deprecated code like using `client` property which is now replaced by `prismaClient` of type `PrismaClientFetcher`
In addition, It's already covered in [configuration section](https://nexusjs.org/docs/plugins/prisma/overview#configuration ) above.
2021-01-10 20:55:20 -05:00
Matthew Caseres
fe1dd14317
chore(docs): Small changes to docs ( #776 )
...
Co-authored-by: Jason Kuhrt <jason.kuhrt@dialogue.co>
2021-01-10 20:54:00 -05:00
Jason Kuhrt
3f27f9e979
chore(docs): example MIT license
2021-01-07 13:06:05 -05:00
Jason Kuhrt
91c775e48a
chore(docs): update example deps
2021-01-07 13:05:41 -05:00
Miguel Oller
4f3cef9d38
feat: Add custom name options to Relay Connection plugin ( #744 )
2021-01-06 22:08:40 -05:00
Jason Kuhrt
d99621210b
chore(docs): remove obsolete prisma plugin settings type
2021-01-06 12:07:10 -05:00
Jason Kuhrt
a7829443b2
chore(docs): remove obsolete prisma plugin example
2021-01-06 12:04:15 -05:00
Jason Kuhrt
b69b30f5c1
chore(docs): remove todo auth chapter
...
closes #760
2021-01-06 10:12:07 -05:00
Jason Kuhrt
ea3f994c40
chore(docs): fix framework migration package ambiguity
...
relates to #761
2021-01-06 09:57:42 -05:00
Mason Bourgeois
9afc64387d
chore(docs): add docs for common field config of prisma plugin ( #735 )
2021-01-04 15:33:41 -05:00
Masayuki Izumi
5116a18255
chore(docs): use sourceType in locally configure Source Types ( #769 )
2021-01-03 20:27:15 -05:00
Kunal Shah
2141a77167
chore(docs): Update 04-chapter-3-adding-mutations-to-your-api.mdx ( #751 )
...
Address the error "Property 'export' is missing in type '{ module: string; alias: string; }' but required in type 'TypingImport'.ts(2741)"
2021-01-02 17:40:48 -05:00
Dave Kiss
8c324a6cdf
chore(docs): Add import db in diff to match code ( #755 )
2021-01-02 17:39:39 -05:00
ahmed osama
bcc0cee16f
chore(docs): update tutorial to use new prisma migrate preview ( #752 )
2021-01-02 17:39:15 -05:00
Lukáš Huvar
1a3c3c552c
chore(docs): fix examples for abstract types to work with Typescript ( #743 )
2021-01-02 17:38:12 -05:00
ahmed osama
c4b35b3035
chore(docs): fix api usage ( #765 )
2021-01-02 17:36:17 -05:00
Émile Fugulin
fcc66ebe98
chore(docs): fix bad context import documention ( #756 )
...
Co-authored-by: Jason Kuhrt <jason.kuhrt@dialogue.co>
2021-01-02 17:35:16 -05:00
Darian Moody
2e76a4fd0b
chore(docs): fix docs overview link to repo examples ( #763 )
2021-01-02 17:34:00 -05:00
Can Rozanes
c1aa2674f7
chore(docs): Update 07-chapter-6-testing-with-prisma.mdx ( #766 )
2021-01-02 17:33:08 -05:00
Dave Kiss
5c05a36932
Fix filename reference ( #747 )
...
Co-authored-by: Jason Kuhrt <jason.kuhrt@dialogue.co>
2020-12-20 10:38:26 -05:00
Edward Jiang
08556d456f
Update 010-overview.mdx ( #748 )
...
Prisma tool changed
```bash
$ yarn prisma -v
@prisma/cli : 2.13.1
$ yarn prisma migrate --help
Update the database schema with migrations
WARNING Prisma's migration functionality is currently in Preview (https://pris.ly/d/preview ).
When using any of the commands below you need to explicitly opt-in via the --preview-feature flag.
Usage
$ prisma migrate [command] [options] --preview-feature
Commands for development
dev Create a migration from changes in Prisma schema, apply it to the database
trigger generators (e.g. Prisma Client)
reset Reset your database and apply all migrations, all data will be lost
Commands for production/staging
deploy Apply pending migrations to the database
status Check the status of your database migrations
resolve Resolve issues with database migrations, i.e. baseline, failed migration, hotfix
Options
-h, --help Display this help message
--schema Custom path to your Prisma schema
Examples
Create a migration from changes in Prisma schema, apply it to the database, trigger generators (e.g. Prisma Client)
$ prisma migrate dev --preview-feature
Reset your database and apply all migrations
$ prisma migrate reset --preview-feature
Apply pending migrations to the database in production/staging
$ prisma migrate deploy --preview-feature
Check the status of migrations in the production/staging database
$ prisma migrate status --preview-feature
Specify a schema
$ prisma migrate status --schema=./schema.prisma --preview-feature
```
2020-12-20 10:36:57 -05:00
Thomas Marrec
bef7786a7d
chore(docs): use new prisma migrate command ( #732 )
2020-12-16 11:30:21 -05:00
Jason Kuhrt
c2acf9b564
chore(docs): fix links in prisma plugin index page
2020-12-16 09:53:15 -05:00
Jason Kuhrt
2b44900b37
chore(docs): better prisma plugin index page
2020-12-16 09:48:33 -05:00
Jason Kuhrt
0ed742a8a5
chore(docs): fix URLs point to git repo trunk
2020-12-16 09:06:39 -05:00
Jason Kuhrt
5c4d6decdb
chore(docs): update git repo URLs
2020-12-16 09:02:46 -05:00
Jason Kuhrt
4c52f594fe
chore: update package git repo url
2020-12-16 08:59:33 -05:00
Jason Kuhrt
c9f4354aef
chore: trigger netlify website deploy 2
2020-12-15 09:39:40 -05:00