Skip to content

Commit

Permalink
fix #163
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedElywa committed Dec 11, 2020
1 parent f6065f8 commit 524713b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/create/examples/apollo-nexus-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"dependencies": {
"@nexus/schema": "0.x",
"@prisma/client": "2.x",
"@paljs/nexus": "2.9.0",
"@paljs/nexus": "2.9.1",
"apollo-server": "2.x",
"graphql": "15.x"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"dependencies": {
"@nexus/schema": "0.x",
"@paljs/nexus": "2.9.0",
"@paljs/nexus": "2.9.1",
"@prisma/client": "2.x",
"apollo-server": "2.x",
"bcryptjs": "2.x",
Expand Down
2 changes: 1 addition & 1 deletion packages/create/examples/full-stack-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@apollo/client": "3.x",
"@apollo/react-ssr": "4.x",
"@nexus/schema": "0.x",
"@paljs/nexus": "2.9.0",
"@paljs/nexus": "2.9.1",
"@paljs/admin": "2.9.0",
"@paljs/ui": "1.x",
"@paljs/icons": "1.x",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function createQueriesAndMutations(
where: ${name}WhereInput
orderBy: [${name}OrderByInput!]
cursor: ${name}WhereUniqueInput
distinct: ${name}DistinctFieldEnum
distinct: ${name}ScalarFieldEnum
skip: Int
take: Int
): [${name}!]`;
Expand All @@ -48,7 +48,7 @@ export function createQueriesAndMutations(
where: ${name}WhereInput
orderBy: [${name}OrderByInput!]
cursor: ${name}WhereUniqueInput
distinct: ${name}DistinctFieldEnum
distinct: ${name}ScalarFieldEnum
skip: Int
take: Int
): [${name}!]`;
Expand All @@ -64,7 +64,7 @@ export function createQueriesAndMutations(
where: ${name}WhereInput
orderBy: [${name}OrderByInput!]
cursor: ${name}WhereUniqueInput
distinct: ${name}DistinctFieldEnum
distinct: ${name}ScalarFieldEnum
skip: Int
take: Int
): Int!`;
Expand All @@ -80,7 +80,7 @@ export function createQueriesAndMutations(
where: ${name}WhereInput
orderBy: [${name}OrderByInput!]
cursor: ${name}WhereUniqueInput
distinct: ${name}DistinctFieldEnum
distinct: ${name}ScalarFieldEnum
skip: Int
take: Int
): Aggregate${name}`;
Expand Down
8 changes: 4 additions & 4 deletions packages/generator/src/sdl/CreateQueriesAndMutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function createQueriesAndMutations(
where: ${name}WhereInput
orderBy: [${name}OrderByInput!]
cursor: ${name}WhereUniqueInput
distinct: ${name}DistinctFieldEnum
distinct: ${name}ScalarFieldEnum
skip: Int
take: Int
): [${name}!]`;
Expand All @@ -48,7 +48,7 @@ export function createQueriesAndMutations(
where: ${name}WhereInput
orderBy: [${name}OrderByInput!]
cursor: ${name}WhereUniqueInput
distinct: ${name}DistinctFieldEnum
distinct: ${name}ScalarFieldEnum
skip: Int
take: Int
): [${name}!]`;
Expand All @@ -64,7 +64,7 @@ export function createQueriesAndMutations(
where: ${name}WhereInput
orderBy: [${name}OrderByInput!]
cursor: ${name}WhereUniqueInput
distinct: ${name}DistinctFieldEnum
distinct: ${name}ScalarFieldEnum
skip: Int
take: Int
): Int!`;
Expand All @@ -80,7 +80,7 @@ export function createQueriesAndMutations(
where: ${name}WhereInput
orderBy: [${name}OrderByInput!]
cursor: ${name}WhereUniqueInput
distinct: ${name}DistinctFieldEnum
distinct: ${name}ScalarFieldEnum
skip: Int
take: Int
): Aggregate${name}`;
Expand Down

0 comments on commit 524713b

Please sign in to comment.