You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After generating the client npx prisma generate and trying to start the dev server i've got the below issue :
Error: Could not find ordering argument for Blog.posts
at SchemaBuilder.argsFromQueryOrModelField (C:\Users\v_2190\nexus-plugin-prisma\examples\blog\node_modules\nexus-plugin-prisma\src\builder.ts:663:15)
at SchemaBuilder.determineArgs (C:\Users\v_2190\nexus-plugin-prisma\examples\blog\node_modules\nexus-plugin-prisma\src\builder.ts:602:19)
at SchemaBuilder.buildArgsFromField (C:\Users\v_2190\nexus-plugin-prisma\examples\blog\node_modules\nexus-plugin-prisma\src\builder.ts:584:17)
at SchemaBuilder.buildFieldConfig (C:\Users\v_2190\nexus-plugin-prisma\examples\blog\node_modules\nexus-plugin-prisma\src\builder.ts:574:18)
at Proxy.fieldPublisher (C:\Users\v_2190\nexus-plugin-prisma\examples\blog\node_modules\nexus-plugin-prisma\src\builder.ts:525:34)
at Object.definition (C:\Users\v_2190\nexus-plugin-prisma\examples\blog\src\schema\types\Blog.ts:10:13)
at SchemaBuilder.walkOutputType (C:\Users\v_2190\nexus-plugin-prisma\examples\blog\node_modules\nexus\src\builder.ts:1532:9)
at SchemaBuilder.walkTypes (C:\Users\v_2190\nexus-plugin-prisma\examples\blog\node_modules\nexus\src\builder.ts:634:16)
at SchemaBuilder.getFinalTypeMap (C:\Users\v_2190\nexus-plugin-prisma\examples\blog\node_modules\nexus\src\builder.ts:804:10)
at makeSchemaInternal (C:\Users\v_2190\nexus-plugin-prisma\examples\blog\node_modules\nexus\src\builder.ts:1662:92)
[ERROR] 10:25:33 Error: Could not find ordering argument for Blog.posts
Many thanks in advance
The text was updated successfully, but these errors were encountered:
I have tried to use the orderByRelation previewFeatures released in version "@prisma/client": "2.19.0",
After generating the client
npx prisma generate
and trying to start the dev server i've got the below issue :Many thanks in advance
The text was updated successfully, but these errors were encountered: