paljs / prisma-tools

Prisma tools to help you generate CRUD system for GraphQL servers
https://paljs.com
MIT License
681 stars 55 forks source link

Select plugins not converting _count from graphql info #205

Closed lukadriel7 closed 3 years ago

lukadriel7 commented 3 years ago

hello, thanks for the great library. I am currently using prisma 2.21.2 along with paljs 3.0.6. I have enabled the preview feature "selectRelationCount" but the select plugin doesn't seem to recognize the _count field from the graphql info parameter.

I am using nestjs and generating my graphql schema using prisma-nestjs-graphql library

AhmedElywa commented 3 years ago

Hi @lukadriel7, Thank you for your issue. I will work on this update ASAP

lukadriel7 commented 3 years ago

@AhmedElywa Thank you very much

AhmedElywa commented 3 years ago

fixed in last version 3.2.0

lukadriel7 commented 3 years ago

Sorry, but the @paljs/plugins npm version is still at 3.0.11

AhmedElywa commented 3 years ago

Sometimes it take some time to update see version https://www.npmjs.com/package/@paljs/plugins